Webtags (preserving history): Difference between revisions

m
Line 344: Line 344:
|-
|-
|dddddd
|dddddd
|D
|%D
|Displays the date using the format given by the Long Date format.
|Displays the date using the format given by the Long Date format.
|e.g. '22 March 2020' (British Locale)
|e.g. '22 March 2020' (British Locale)
Line 382: Line 382:
|-
|-
|h [''AM/PM'']
|h [''AM/PM'']
|h [''tt'']
|%h [''tt'']
|Displays the hour (12 hour clock) without a leading zero (1-12) [optionally in combination with AM/PM]. What "tt" produces depends on locale settings for your device, it might be capitals or it might be lower case (in Windows use Control Panel, not Settings app, to get to these regional additional settings).
|Displays the hour (12 hour clock) without a leading zero (1-12) [optionally in combination with AM/PM]. What "tt" produces depends on locale settings for your device, it might be capitals or it might be lower case (in Windows use Control Panel, not Settings app, to get to these regional additional settings).
{{Version badge 1}}For Cumulus 1 the formats for am/pm depend on the case in which you type the parameter as shown later in this table
{{Version badge 1}}For Cumulus 1 the formats for am/pm depend on the case in which you type the parameter as shown later in this table
Line 423: Line 423:
|-
|-
|n
|n
|m
|%m
|Displays the minute without a leading zero (0-59).  
|Displays the minute without a leading zero (0-59).  
|7 produced by {{Version badge 1}}<#daylength format=n>[[File:Badge vMx.png]]<#daylength format=m>
|7 produced by {{Version badge 1}}<#daylength format=n>[[File:Badge vMx.png]]<#daylength format=m>
Line 433: Line 433:
|-
|-
|s
|s
|s
|%s
|Displays the second without a leading zero (0-59).
|Displays the second without a leading zero (0-59).
|-
|-
Line 469: Line 469:
|-
|-
|t
|t
|t
|%t
|Displays the time using the Short Time format.  [[File:Badge vMx.png]]Remember that 't' combined with other specifiers (or preceded by space or '%') has a different meaning - see below.
|Displays the time using the Short Time format.  [[File:Badge vMx.png]]Remember that 't' combined with other specifiers (or preceded by space or '%') has a different meaning - see below.
| '09:47' produced by <#LastDataReadT format=t> (might not use colon in your locale) for both flavours of Cumulus
| '09:47' produced by <#LastDataReadT format=t> (might not use colon in your locale) for both flavours of Cumulus
Line 486: Line 486:
|-
|-
|a/p
|a/p
|t
|%t
|Uses the 12-hour clock for the preceding h or H specifier, and displays 'a' for any hour from midnight until before noon, and 'p' for noon or any hour after noon.
|Uses the 12-hour clock for the preceding h or H specifier, and displays 'a' for any hour from midnight until before noon, and 'p' for noon or any hour after noon.
{{Version badge 1} The a/p specifier can use lower, upper, or mixed case, and the result is displayed accordingly.
{{Version badge 1} The a/p specifier can use lower, upper, or mixed case, and the result is displayed accordingly.
5,838

edits