[upgrade] moment.js and remove hack(?) frappe/erpnext#3294
This commit is contained in:
parent
91f4044c79
commit
deceac949f
5 changed files with 85 additions and 6 deletions
|
|
@ -47,8 +47,7 @@
|
|||
"public/js/lib/notify.js",
|
||||
"public/js/lib/bootstrap.min.js",
|
||||
"public/js/lib/nprogress.js",
|
||||
"public/js/lib/moment/moment.min.js",
|
||||
"public/js/lib/moment/moment-timezone.min.js",
|
||||
"public/js/lib/moment/moment-with-locales.min.js",
|
||||
|
||||
"public/js/frappe/provide.js",
|
||||
"public/js/frappe/class.js",
|
||||
|
|
|
|||
|
|
@ -9,7 +9,6 @@ frappe.provide("frappe.datetime");
|
|||
|
||||
$.extend(frappe.datetime, {
|
||||
str_to_obj: function(d) {
|
||||
// zone hack to remove timezone diff added by momentjs
|
||||
return moment(d, moment.defaultDatetimeFormat)._d;
|
||||
},
|
||||
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
81
frappe/public/js/lib/moment/moment-with-locales.min.js
vendored
Normal file
81
frappe/public/js/lib/moment/moment-with-locales.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
5
frappe/public/js/lib/moment/moment.min.js
vendored
5
frappe/public/js/lib/moment/moment.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Add table
Reference in a new issue