Webtags/Parameters (preserving history): Difference between revisions
From Cumulus Wiki
Jump to navigationJump to search
m (→Date formats) |
|||
Line 312: | Line 312: | ||
====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, you can can combine the month specifier | 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, 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. | 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. | ||
Line 346: | Line 346: | ||
Compared with next table where '''format=%M''' used, '''format=M''' on its own returns both Month and Day according to local format | Compared with next table where '''format=%M''' used, '''format=M''' on its own returns both Month and Day according to local format | ||
| e.g. 22 July (English Locale) | | e.g. 22 July (English Locale) | ||
|- | |||
|"MMMM D" | |||
|"MMMM d" | |||
| USA format of month before day of month | |||
| e.g. July 4 (USA locale) | |||
|- | |- | ||
|TT | |TT |