Open
Description
We use the DATETIME
filter in one of our Fluent strings to format an ISO date string to just output the weekday name (Monday
): {DATETIME($isoString, weekday: "long")}
Is there a way to specify whether the weekday name should be capitalized or not, regardless of the locale's capitalization rules?
In the English case, the weekday occurs in the middle of the sentence, and anyway it's not of any consequence because weekdays are capitalized in English. In Hungarian, however, the weekday ends up being the first word in the string. Because weekdays are not capitalized in Hungarian, we end up with a sentence that isn't capitalized.
Is this something we can address using Fluent alone, or should we be fixing it somewhere else in the stack?