discourse/plugins/discourse-local-dates/spec
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
..
integration FEATURE: date-range tag for local dates (#15474) 2022-01-10 08:02:36 +01:00
lib FIX: converts “ and ” to " in local dates (#10987) 2020-10-21 17:16:36 +02:00
models FIX: Do not extract dates from quotes and Oneboxes (#8754) 2020-01-21 17:42:41 +02:00