5,838
edits
m (→Date formats) |
m (→Date formats) |
||
|
====Date formats====
Cumulus works with dates specified in either a day before month before year format, or ISO 8601 date format where year comes first (yyyy-MM-dd). If you are in the USA, Cumulus will not use your month first date internally, but you can see your preferred format in any output as you can can combine the month specifier, with the day specifier, in that order, to get an output where the month appears first (see example in table below).
Locales will define a '''Short Date Format''' and a '''Long Date Format'''. Which date format is used as the default, depends on which web tag is used. What appears in short and long formats depends entirely on the selected locale.
|"D MMMM"
|M
|Day of month followed by Month name (except USA locales).
Compared with next table where '''format=%M''' used, '''format=M''' on its own returns both Month and Day according to local format
|-
|"MMMM D"
|"MMMM d" if M alone does not work
| USA format of month before day of month
| e.g. July 4 (USA
|-
|TT
| |||
edits