Add moment.js third-party module via npm.

This is needed for timezone manipulations.  We may be able to replace
XDate with it in the future as well.
This commit is contained in:
hackerkid 2017-04-02 03:37:03 +05:30 committed by Tim Abbott
parent ecf9a50610
commit 2a0a84b229
4 changed files with 6 additions and 1 deletions

View File

@ -14,6 +14,7 @@
"Dropbox": false,
"SockJS": false,
"marked": false,
"moment": false,
"i18n": false,
"bridge": false,
"page_params": false,

View File

@ -15,6 +15,8 @@
"jquery": "2.2.3",
"jquery-validation": "1.16.0",
"katex": "0.7.1",
"moment": "2.18.1",
"moment-timezone": "0.5.12",
"plotly.js": "1.19.2",
"string.prototype.codepointat": "0.2.0",
"underscore": "1.8.3",

View File

@ -1,2 +1,2 @@
ZULIP_VERSION = "1.5.1+git"
PROVISION_VERSION = '4.14'
PROVISION_VERSION = '4.15'

View File

@ -765,6 +765,8 @@ JS_SPECS = {
'js/blueslip.js',
'third/bootstrap/js/bootstrap.js',
'js/common.js',
'node_modules/moment/moment.js',
'node_modules/moment-timezone/builds/moment-timezone-with-data.js',
],
'output_filename': 'min/common.js'
},