datetimepicker: can't find DateFormatter in 2.4.6
not ok 1 PhantomJS 2.1 - Global error: ReferenceError: Can't find variable: DateFormatter
worked in 2.4.5
About this issue
- Original URL
- State: open
- Created 8 years ago
- Reactions: 4
- Comments: 43 (4 by maintainers)
Commits related to this issue
- Pinned jquery-datetimepicker version to 2.4.0 https://github.com/xdan/datetimepicker/issues/392 — committed to yuroyoro/administa by yuroyoro 8 years ago
- datetimepicker==2.4.5 ref https://github.com/xdan/datetimepicker/issues/392 — committed to mozillazg/chendian-plus by mozillazg 8 years ago
The .min.js file has code from another jquery plugin pasted into the top. Here is the JS file for the other plugin https://github.com/kartik-v/php-date-formatter/blob/master/js/php-date-formatter.js
+9999999999
I just fought with with today and came up with this solution if anyone still needs it package,json
Then import and use:
sample is from a vue-cli generated project using browserify and imported in a .vue file
If the workable scripts can be accessed in
build/
, why not just remove thejquery.datetimepicker.min.js
?If you’re installing via npm,
require('jquery-datetimepicker/build/jquery.datetimepicker.full')
worked for me —instead ofrequire('jquery-datetimepicker')
. See PR #399+3
Is there some progress around this bug? It still appears in latest version.