discourse/plugins/discourse-local-dates/spec/lib
Régis Hanol 8f04686f39
FIX: normalize dates without leading zeros in local-dates plugin (#36539)
When users manually typed date markup with dates missing leading zeros
(e.g., `2024-3-9` instead of `2024-03-09`), same-day ranges would show
redundant date information instead of the compact time-only format.

Dates are now normalized in the markdown parser using moment's flexible
parsing. Existing posts with non-padded dates will be fixed upon rebake.

Internal ref - t/170361
2025-12-08 17:41:25 +01:00
..
pretty_text_spec.rb FIX: normalize dates without leading zeros in local-dates plugin (#36539) 2025-12-08 17:41:25 +01:00