Commit Graph

17 Commits

Author SHA1 Message Date
e990d8adce FIX: ensures preview is correctly computing timezone for current user (#9758)
This also fixes a related bug with timezones on displayed date when in calendar range.
2020-05-12 12:30:41 -07:00
2f714c7412 FIX: end date of ranges in html preview was incorrect (#9654)
This commit also remove an unused block of code as previewedTimezones can't be empty anymore.
2020-05-06 17:16:36 +02:00
6171141211 UX: displays full date time when displaying ranges (#9386) 2020-04-08 10:44:06 +01:00
6d0ba74b98 UX: Ensures timezone is used over localTimezone when displaying dates 2020-04-08 10:43:47 +01:00
66d375cb1d UX: display zones without prefix to reduce noise (#9383) 2020-04-08 11:02:00 +02:00
25f95af418 REFACTOR: local dates to improve reliability with DST and recurrence (#9379)
This commit improves testing and separates local-date generation from dates with zone manipulations.
2020-04-08 08:53:21 +02:00
6b433b66f5 FIX: always prepend watching user timezone to previews (#6695) 2018-11-29 12:02:27 +01:00
3e116bb14e FIX: better handling of same offset timezones (#6680) 2018-11-27 15:17:23 +01:00
75dac31323 FIX: compares timezones on utc offset and not name (#6672) 2018-11-27 12:36:19 +01:00
d461794fbf FIX: removes country from timezone indicator (#6677) 2018-11-27 11:52:02 +01:00
ac556298ca FIX: resets timezone default after callback (#6675) 2018-11-27 09:56:31 +01:00
9cf9dee4cc DEV: Locale dates test needs to set default moment timzone.
The tests were breaking on a machine configured to use SGT timezone.
2018-11-27 13:50:57 +08:00
b0d08b5a8c FEATURE: refactoring and better handling of special cases (#6666) 2018-11-26 14:20:32 +01:00
3ff3bb6e2a FIX: improves code, tests and utc handling of local-dates (#6644) 2018-11-22 17:19:24 +01:00
Sam
df62b48d51 UX: remove "at" word from relative dates in local dates
Previously we would render "Today at 2:42 PM"
Now we render "Today 2:42 PM"

This also introduces new strings so it can be properly translated

Finally it introduces tests so we can make sure this keeps working
2018-10-31 11:55:43 +11:00
f07bece17f FIX: Make time attribute as optional for local-dates bbcode 2018-10-12 05:44:00 +05:30
f38caf30fb Add qunit test and fix the rspec method 2018-10-12 03:32:38 +05:30