discourse/plugins
Krzysztof Kotlarek 17ec3bc5b9
FEATURE: date-range tag for local dates (#15474)
New range tag for local dates with syntax like:
```
[date-range from=2022-01-06T13:00 to=2022-01-08 timezone=Australia/Sydney]
```

Previously, 2 dates in one line were considered as range. It was hard to decide if 2 dates are range when they were in separate lines or have some content between them.

New explicit tag should clearly distinguish between single date and range.

Common code from `addLocalDate` is extracted to `addSingleLocalDate`.

Both `addLocalDate` and new `addLocalRange` are using `addSingleLocalDate`.

Also, `defaultDateConfig` was extracted to have one place for all possible parameters.
2022-01-10 08:02:36 +01:00
..
discourse-details Update translations (#15416) 2021-12-28 14:13:58 +01:00
discourse-local-dates FEATURE: date-range tag for local dates (#15474) 2022-01-10 08:02:36 +01:00
discourse-narrative-bot DEV: Fewer jQuery calls in offset calculation (#15465) 2022-01-07 16:02:03 -05:00
discourse-presence UX: Maximize the preview space in composer (#15188) 2021-12-24 12:38:33 +01:00
lazy-yt DEV: Replace $.extend with Object.assign (#14921) 2021-11-14 10:59:22 +01:00
poll FIX: Disable cast votes button for multiple polls with no min. 2022-01-10 10:03:17 +08:00
styleguide Update translations (#15292) 2021-12-14 14:53:35 +01:00