Skip to content
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
// Copyright (C) 2022 Rudolph Gottesheim. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-formatdatetime
description: >
Comment thread
MidnightDesign marked this conversation as resolved.
Short German weekdays should be followed by a comma.
locale: [de]
---*/
Comment thread
MidnightDesign marked this conversation as resolved.

let dtf = new Intl.DateTimeFormat("de", { weekday: "short", day: "numeric", month: "long"});
assert.sameValue(dtf.format(new Date(2022, 11, 24)).includes("Sa.,"), true, "German weekday without year");