mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 16:43:40 +08:00
62b27ea9f3
When start/end was missing the time component the string passed to `moment()` would have a space at the end. This was causing these warnings: ``` Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info. ``` |
||
---|---|---|
.. | ||
assets | ||
config | ||
lib/discourse_local_dates | ||
spec | ||
test/javascripts | ||
plugin.rb |