javascript - datepicker/moment.js ? displaying wrong date in my locale -
im integrating twitter bootstrap datepicker plugin, im having trouble it.
the plugin in question this: http://eonasdan.github.io/bootstrap-datetimepicker/
it works fine default configuration(uses 'en' language default). when try use different localization example 'lv' shows wrong date. day , month flipped(shows current time july 6 not april 4 correct in location). checked other localizations , seems wrong too, in plugins documentation page, 'ru' localization example has same problem.
correct
wrong
for localization plugin uses moment.js, (it support 'lv' localization) included.
any idea wrong?
thanks help!
managed fix providing date format mm-dd-yyyy hh:mm.
thanks checked out.
Comments
Post a Comment