discourse-calendar/test/javascripts/integration/components
Joffrey JAFFEUX 03508c2e2e
UX: smart format dates (#745)
This PR overhauls the way event dates are rendered by applying context-aware formatting rules:

* Single-day events only show times when appropriate, hiding “12:00 AM” for events without endDate.
* Multi-day ranges omit redundant parts (e.g. for the current year) and include weekday/month/day when needed.

### Impact
* Improves readability of event dates across the app
* Reduces visual noise by hiding redundant date/time fragments
* Ensures consistency with user expectations around relative dates

---------

Co-authored-by: Yuriy Kurant <yuriy@discourse.org>
2025-06-24 11:47:13 +08:00
..
admin-holidays-list-item-test.gjs DEV: [gjs-codemod] Convert all templates to gjs (#729) 2025-06-06 11:45:25 +01:00
admin-holidays-list-test.gjs DEV: [gjs-codemod] Convert all templates to gjs (#729) 2025-06-06 11:45:25 +01:00
dates-test.gjs UX: smart format dates (#745) 2025-06-24 11:47:13 +08:00
more-menu-test.gjs DEV: Update linting (#704) 2025-03-17 10:55:49 +00:00
region-input-test.gjs DEV: [gjs-codemod] Convert all templates to gjs (#729) 2025-06-06 11:45:25 +01:00
rich-editor-extension-test.js FEATURE: adds support for event preview in rich editor (#708) 2025-03-28 17:14:02 -03:00
upcoming-events-list-test.gjs DEV: Update linting (#704) 2025-03-17 10:55:49 +00:00