Webtags/Parameters (preserving history): Difference between revisions

From Cumulus Wiki
Jump to navigationJump to search
m
====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 in the previous sub-section, with the day specifier, in thisthat sub-sectionorder, 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.
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)
|-
|"MMMM D"
|"MMMM d"
| USA format of month before day of month
| e.g. July 4 (USA locale)
|-
|TT
5,838

edits

Navigation menu