mirror of
https://github.com/discourse/discourse.git
synced 2024-12-02 07:36:09 +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 ``` |
||
---|---|---|
.. | ||
discourse | ||
initializers | ||
lib |