19,503
edits
(added test code for LocaleDate) |
mNo edit summary |
||
Line 14: | Line 14: | ||
return; | return; | ||
if (lang | if (lang != "en-US") // LocaleDate prints dates in U.S.-style by default | ||
{ | { | ||
root.style.setProperty('--month-order', '2'); | root.style.setProperty('--month-order', '2'); | ||
root.style.setProperty('--day-order', '1'); | root.style.setProperty('--day-order', '1'); | ||
root.style.setProperty('--month-before', '/'); | |||
root.style.setProperty('--day-before', ''); | |||
} | } | ||
} | } |