discourse/plugins/discourse-local-dates/assets/javascripts
Jarek Radosz 62b27ea9f3
DEV: Fix moment warnings (#14482)
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.
```
2021-09-30 22:07:48 +02:00
..
discourse DEV: Add toolbar button when chat in installed (#14422) 2021-09-22 13:46:06 -05:00
initializers DEV: Fix moment warnings (#14482) 2021-09-30 22:07:48 +02:00
lib FIX: correctly defines data-attributes used by local-dates (#14418) 2021-09-22 16:49:45 +02:00