You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<tr><td>"Hora de {0}"</td><td>"Hora de Japón"</td></tr>
1477
1479
<tr><tdrowspan="2">regionFormat type="daylight"<br>(or "standard")</td><td>"{0} Daylight Time"</td><td>"France Daylight Time"</td></tr><tr><td>"horario de verano de {0}"</td><td>"horario de verano de Francia"</td></tr>
@@ -1699,20 +1701,28 @@ Note: A generic location format is constructed by a part of time zone ID represe
1699
1701
1700
1702
**Specific location format:** This format does not have a symbol, but is used in the fallback chain for the _specific non-location format_. Like the _generic location format_ it uses time zone locations, but formats these in a zone-variant aware way, e.g. "France Summer Time".
1701
1703
1702
-
**Localized GMT format:** A constant, specific offset from GMT (or UTC), which may be in a translated form. There are two styles for this. The first is used when there is an explicit non-zero offset from GMT; this style is specified by the `<gmtFormat>` element and `<hourFormat>` element. The long format always uses 2-digit hours field and minutes field, with optional 2-digit seconds field. The short format is intended for the shortest representation and uses hour fields without leading zero, with optional 2-digit minutes and seconds fields. The digits used for hours, minutes and seconds fields in this format are the locale's default decimal digits:
1704
+
**Localized GMT format:** A constant, specific offset from GMT (or UTC), which may be in a translated form. There are three styles for this:
1705
+
1706
+
The first is used when there is an explicit non-zero offset from GMT; this style is specified by the `<gmtFormat>` element and `<hourFormat>` element. The long format always uses 2-digit hours field and minutes field, with optional 2-digit seconds field. The short format is intended for the shortest representation and uses hour fields without leading zero, with optional 2-digit minutes and seconds fields. The digits used for hours, minutes and seconds fields in this format are the locale's default decimal digits:
1703
1707
1704
1708
* "GMT+03:30" (long)
1705
1709
* "GMT+3:30" (short)
1706
1710
* "UTC-03.00" (long)
1707
1711
* "UTC-3" (short)
1708
1712
* "Гринуич+03:30" (long)
1709
1713
1710
-
Otherwise (when the offset from GMT is zero, referring to GMT itself) the style specified by the `<gmtZeroFormat>` element is used:
1714
+
The second is used when there is an explicit zero offset from GMT. It is specified by the `<gmtZeroFormat>` element:
1711
1715
1712
1716
* "GMT"
1713
1717
* "UTC"
1714
1718
* "Гринуич"
1715
1719
1720
+
The third is used when the offset from GMT is unknown. It is specified by the `<gmtUnknownFormat>` element:
1721
+
1722
+
* "GMT+?"
1723
+
* "UTC+?"
1724
+
* "Гринуич+?"
1725
+
1716
1726
**ISO 8601 time zone formats:** The formats based on the [[ISO 8601](tr35.md#ISO8601)] local time difference from UTC ("+" sign is used when local time offset is 0), or the UTC indicator ("Z" - only when the local time offset is 0 and the specifier X\* is used). The ISO 8601 basic format does not use a separator character between hours and minutes field, while the extended format uses colon (':') as the separator. The ISO 8601 basic format with hours and minutes fields is equivalent to RFC 822 zone format.
1717
1727
1718
1728
* "-0800" (basic)
@@ -1845,6 +1855,7 @@ Some of the examples are drawn from real data, while others are for illustration
1845
1855
* America/Los_Angeles → "HMG-07:00" // daylight time
1846
1856
* Etc/GMT+3 → "GMT-03.00" // note that _TZ_ TZIDs have inverse polarity!
1847
1857
* Etc/Unknown → "GMT+07:00" // if the offset is known
1858
+
* Etc/Unknown → "GMT+?" // if the offset is not known
1848
1859
1849
1860
**Note:** The digits should be whatever are appropriate for the locale used to format the time zone, not necessarily from the western digits, 0..9. For example, they might be from ०..९.
Copy file name to clipboardExpand all lines: docs/site/translation/time-zones-and-city-names.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,6 +34,7 @@ The following special patterns are used in formatting timezones.
34
34
|---|---|---|---|---|
35
35
| gmtFormat | GMT{0}<br /> *or*<br /> GMT{ HOURS_FROM_GMT } | GMT -2:00 |**GMT Pattern.** Modify this field if the format for GMT time uses different letters, such as HUA+0200 for GMT+02:00 , or if the letters GMT occur after the time. Make sure you include the {0} ; that is where the actual time value will go! ||
36
36
| gmtZeroFormat | GMT | GMT |**GMT Zero Pattern.***This field must be consistent with the GMT Pattern.*||
37
+
| gmtUnknownFormat | GMT+? | GMT+? |**GMT Unknown Pattern.***This field must be consistent with the GMT Pattern.*||
37
38
| hourFormat | +HH:mm;-HH:mm| GMT -02:00 |**GMT Hours Pattern.** This field controls the format for the time used with the GMT Pattern. It contains two patterns separated by a ";". The first controls positive time values (and zero), and the second controls the negative values. So to get *GMT+02.00* for positive values, and *GMT-02.00* for negative values, you'd use *+HH.mm;-HH.mm*. ||
38
39
| regionFormat | {0} Time<br /> *or*<br /> { COUNTRY } Time / { CITY } Time | Bolivia Time |**Location-Based Time Zone Pattern.** For generic references to time zones, the country is used if possible, composed with a pattern that in English appears as "{0} **Time** ". Thus a time zone may appear as "Malaysia **Time** " or " **Hora de** Malasia". If the country has multiple time zones, then a city is used to distinguish which one, thus "Argentina (La Rioja) **Time** ".<br /><br /> Some languages would normally have grammatical adjustments depending on what the name of the city is. For example, one might need "12:43 pm **Tempo d'** Australia" but "12:43 pm **Tempo de** Paris". In that case, there are two approaches:<br /><br /> 1. Use "{0}", which will give results like "12:43 pm Australia" and "12:43 pm Paris", or<br /> 2. Use a "form-style" phrasing such as " **Tempo de:** {0}", which will give results like "12:43 pm **Tempo de:** Australia" and "12:43 pm **Tempo de:** Paris". ||
39
40
| regionFormat-standard | {0} Standard Time<br /> *or*<br /> { COUNTRY } Standard Time / { CITY } Standard Time | Bolivia Standard Time |||
0 commit comments