mirror of
https://github.com/discourse/discourse.git
synced 2025-05-21 18:12:32 +08:00
UX: Ensures timezone is used over localTimezone when displaying dates
This commit is contained in:
@ -81,7 +81,7 @@ QUnit.test("option[format]", assert => {
|
||||
freezeTime({ date: "2020-03-11" }, () => {
|
||||
assert.buildsCorrectDate(
|
||||
{ format: "YYYY" },
|
||||
{ formated: "2020" },
|
||||
{ formated: "2020 (UTC)" },
|
||||
"it uses custom format"
|
||||
);
|
||||
});
|
||||
|
Reference in New Issue
Block a user