discourse/plugins/discourse-local-dates/spec
Natalie Tay 7d8cda9858
FEATURE: Omit showing day when 'to' day is same as 'from' day (#18500)
Essentially,

Saturday at 2:50 PM -> Saturday at 4:38 PM becomes
Saturday at 2:50 PM -> 4:38 PM (Singapore)

Also, the displayed dates are shortened when the standalone date
is within two days. So despite the 'from' and 'to' date being the
same day, it may show 'Saturday' for 'from', and the specific date
for the 'to'. This corrects the behaviour.

(so if the current date and time is Thursday 5PM, the 'from' date
below is within 2 days, but the 'to' date is not)
Saturday at 2:50 PM -> 8 October 2022 at 9:38 PM becomes
Saturday at 2:50 PM -> 9:38 PM
2022-10-07 09:39:41 +08:00
..
integration FEATURE: Omit showing day when 'to' day is same as 'from' day (#18500) 2022-10-07 09:39:41 +08:00
lib DEV: Use proper wording for contexts in specs 2022-08-04 11:05:02 +02:00
models Add RSpec 4 compatibility (#17652) 2022-07-28 10:27:38 +08:00