Webtags (preserving history): Difference between revisions

m
m (→‎Current Conditions: 'If' for IsFreezing)
Line 66: Line 66:


== List of allowed modifiers ==
== List of allowed modifiers ==
Note for Cumulus 1 - where lower case shown, because Delphi is case insensitive, upper case could be used instead (exceptions: a/p, ampm, am/pm, Am/Pm, AM/PM, A/P, AMPM etc display as input)
Note for Cumulus 1 - where lower (or upper, for easier comparison with MX) case shown, because Delphi is case insensitive, upper (or lower) case (in some cases, indicated by use of italics in brackets) could be used instead (exceptions: a/p, ampm, am/pm, Am/Pm, AM/PM, A/P, AMPM etc display as input)
{| class="wikitable" border="1"
{| class="wikitable" border="1"
|-
|-
Line 107: Line 107:
*Cumulus MX: Note that including a ' ' (space) or '%' before the M makes it a custom modifier e.g. '7' is returned for July as any initial zero is suppressed. ('M' on its own returns both Month and Day according to local format e.g. 22 July).
*Cumulus MX: Note that including a ' ' (space) or '%' before the M makes it a custom modifier e.g. '7' is returned for July as any initial zero is suppressed. ('M' on its own returns both Month and Day according to local format e.g. 22 July).
|-
|-
|mm
|MM (or ''mm'')
|MM
|MM
|Displays the month as a number with a leading zero (01-12).  
|Displays the month as a number with a leading zero (01-12).  
*Cumulus 1.x.y:If the 'm' specifier immediately follows an h or hh specifier, the minute rather than the month is displayed.
*Cumulus 1.x.y:If the 'm' specifier immediately follows an h or hh specifier, the minute rather than the month is displayed.
|-
|-
|mmm
|MMM (or ''mmm'')
|MMM
|MMM
|Displays the month as an abbreviation (Jan-Dec) using the strings appropriate to the Locale.
|Displays the month as an abbreviation (Jan-Dec) using the strings appropriate to the Locale.
|-
|-
|mmmm
|MMMM (or ''mmmm'')
|MMMM
|MMMM
|Displays the month as a full name (January-December) using the strings appropriate to the Locale.
|Displays the month as a full name (January-December) using the strings appropriate to the Locale.
Line 140: Line 140:
|Displays the hour (12 hour clock) with a leading zero (01-12).
|Displays the hour (12 hour clock) with a leading zero (01-12).
|-
|-
|hh (or ''HH'')
|HH (or ''hh'')
|HH
|HH
|Displays the hour using 24 hour clock with a leading zero (00-23).
|Displays the hour using 24 hour clock with a leading zero (00-23).
5,838

edits