mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-01 07:11:26 +08:00
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 |
||
|---|---|---|
| .. | ||
| pretty_text_spec.rb | ||