mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 13:53:45 +08:00
4285706d97
When there is a blank space in the end of date, moment is returning a different value: ```javascript console.log(moment.tz("2021-09-09 ", "Australia/Sydney").toISOString()); // 2021-09-09T00:00:00.000Z console.log(moment.tz("2021-09-09", "Australia/Sydney").toISOString()); // 2021-09-08T14:00:00.000Z ``` |
||
---|---|---|
.. | ||
assets | ||
config | ||
lib/discourse_local_dates | ||
spec | ||
test/javascripts | ||
plugin.rb |