• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1---
2title: Date/Time Patterns
3---
4
5# Date/Time Patterns
6
7_Last updated: 2018-May-14_
8
9## Patterns Introduction
10
11Pre-requisite topics to read:
12
13- [Date/Time Symbols](https://cldr.unicode.org/translation/date-time/date-time-symbols)
14- [Date/Time Names](https://cldr.unicode.org/translation/date-time/date-time-names)
15
16A date-time pattern is a string of characters in which fields representing date and time symbols are combined together with necessary "literal" strings that are used as is.
17
18There are two types of substrings that are combined in a pattern:
19
201. Date/time fields, which are placeholders that represent particular calendar values such as month, weekday, year, etc..
212. "Literal" strings used as-is. These are necessary to make the pattern flow naturally in a given language.
223. For example:
23
24| Skeleton format | English Pattern  | English Example  | Japanese Pattern | Japanese Example |
25|:---|---|---|---|---|
26| **yMMMd** | MMM e, y | Dec 5, 2010 | y年M月d 日 | 2010年12月5日 |
27
28There are three aspects to patterns: 
29- A letter in the set {a-z; A-Z} indicates the type of calendar field: See [Date/Time Symbols](https://cldr.unicode.org/translation/date-time/date-time-symbols).
30	- For example:
31		- M for month
32		- d for week day
33		- y for year
34- The number of letters indicate the form of the names to be used. 
35	- Example use for month would be:
36	- Numeric representation: M or MM for 9 or 09, with leading 0. This is intended to be used in conjunction with a day number; thus, 9/12 or 09/12
37	- Abbreviated form: MMM  for Sep
38	- Full form: MMMM for September
39	- Narrow form: MMMMM (S)
40- When formatting a particular date, non-numeric values (e.g. month names from Gregorian calendar) are substituted into the appropriate pattern substrings using the [Date Format Symbols](https://cldr.unicode.org/translation/date-time/date-time-symbols)41	- For example:
42		- M replaced by “3” for March
43		- MMMM replaced by “March”.
44		- When parsing a date string, the pattern substrings will be converted into the appropriate numeric calendar data.
45	- **See [Date/Time Symbols](https://cldr.unicode.org/translation/date-time/date-time-symbols) for a brief summary of letters for different calendar fields, or [Date Field Symbol Table](http://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table) for a more complete and detailed list.**
46	- The "literal" text in the date-time pattern are used as-is when formatting, and are expected when parsing a date string. To include a single straight quote as part of the literal text, use two of them together: '' (either inside or outside a section of literal text enclosed in single straight quotes).
47
48To demonstrate how this work with examples, see the spec [Date Format Pattern Examples](http://www.unicode.org/reports/tr35/tr35-45/tr35-dates.html#Date_Format_Pattern_Examples).
49
50�� **Translation Tips**
51
52- For "literal" text that should be included in patterns, enclose it in single straight quotes **if it includes letters A-Za-z or a single straight quote**. For example, to include "o'clock" in a long time pattern (hh 'o''clock' a, zzzz). If you need to include the single straight quote itself in literal text, you can do that by doubling it as in the previous example.
53- In order to provide the correct date and time patterns for your language, you may need to reorder the symbols.  For example, you would need to reorder the U.S. date pattern d/M/y to MM/dd/y if your locale puts the month first in short date patterns.
54- **For bidi scripts (e.g. Arabic and Hebrew), you may need to add directionality markers (U+200E (\<LRM> LEFT-TO-RIGHT MARK, U+200F \<RLM> RIGHT-TO-LEFT MARK, U+061C \<ALM> ARABIC LETTER MARK). Typically these are most commonly needed in short (numeric) dates, usually before separators such as  '/' or '-'.**
55	- **For date formats in bidi scripts, the Survey Tool shows examples in both a right-to-left context and a neutral context. In the future it may show examples in a left-to-right contex as well.**
56	- **The hightest priority is to make the formats look correct in a right-to-left context; the next most important is to make them look correct in a a neutral cotext. If possible it is also a good idea to make them work in a left-to-right context.**
57- **Always look at examples!** Examples are in the Information Pane or hover over. When working with date and time formats, there are many substitution and dependencies to different calendar; therefore, the example are best representation to validate your intention on the end result.
58
59## Synchronizing Date/Time Names and Patterns
60
61There is a tight coupling between the date/time patterns and the names that are used for date/time elements, described in [Date/Time Names](https://cldr.unicode.org/translation/date-time/date-time-names). Therefore, when supplying the data, it requires coordination between what you supply as the names and your intention on which name to use in patterns.
62
63### When to use Standalone vs. Formatting
64
65Some types of names have two styles and these are differentiated in the survey tool section headings a Formatting and Standalone.
66
67Using the month names as examples:
68
69- **format style**: Use formatting-style month names represented with "M" when month names is displayed with a day-of-the-month number (e.g. d MMMM y: 5 Monday January 1999).
70- **stand-alone style**: Use the stand-alone month names represented with "L" when the month name is without a day-of-the month. (e.g. LLLL y: Monday 1999)
71
72Following are examples of differences and implications based on language:
73
74|   | wide _format_ months (Use pattern: MMMM) | wide _stand-alone_ months Use pattern: LLLL) | pattern for full date, e.g.in e-mail log: “d. MMMM y”; thus, intended to use the format style names as examples below. | pattern for month + year, e.g. in calendar: “LLLL y”; thus intended to use the stand-alone names as examples below: | pattern for month name by itself, e.g. in menu: “LLLL” ; thus, intended to use the stand-alone names as examples below: |
75|---|---|---|---|---|---|
76|  7 |  heinäkuuta |  heinäkuu |  5. heinäkuuta 2018 |  heinäkuu 2018 |  heinäkuu |
77|  8 |  elokuuta |  elokuu |  10. elokuuta 2018 |  elokuu 2018 |  elokuu |
78|  9 |  syyskuuta |  syyskuu |  15. syyskuuta 2018 |  syyskuu 2018 |  syyskuu |
79|  10 |  lokakuuta |  lokakuu |  20. lokakuuta 2018 |  lokakuu 2018 |  lokakuu |
80
81- Some language (e.g. Catalan) use a preposition to combine the month and day number, e.g. “11 de setembre” (11 of September). If the month name begins with a vowel, the preposition is contracted, e.g. “12 d’octubre”. 
82	- For these languages:
83	- The **format** month names should include the preposition in its correct form (contracted or not)
84	- And the **stand-alone** month names should **NOT** include the preposition
85		- And the **patterns** using the stand-alone should not include the preposition for month
86- In some languages, the weekday name format forms (e.g. EEEE) and stand-alone forms (e.g. cccc) forms may also differ, and may require similar coordination between names and patterns.
87- Below examples are with month names.
88
89|   | wide _format_ months Use pattern (MMMM) | wide _stand-alone_ months Use pattern (LLLL) | pattern for full date, e.g.in e-mail log: “d MMMM 'de' y”; thus, intended to use the format style names as examples below: | pattern for month + year, e.g. in calendar: “ LLLL 'de' y”; thus intended to use the stand-alone names as examples below: | pattern for month name by itself, e.g. in menu: “ LLLL ”; thus, intended to use the stand-alone names as examples below: |
90|---|---|---|---|---|---|
91|  7 |  de juliol |  juliol |  5 de juliol de 2018 |  juliol de 2018 |  juliol |
92|  8 |  d’agost |  agost |  10 d’agost de 2018 |  agost de 2018 |  agost |
93|  9 |  de setembre |  setembre |  15 de setembre de 2018 |  setembre de 2018 |  setembre |
94|  10 |  d’octubre |  octubre |  20 d’octubre de 2018 |  octubre de 2018 |  octubre |
95
96| Format String | Date | Result |
97|:---:|:---:|:---:|
98| LLLL | 2008-1-14 | gener |
99|  | 2008-4-14 | abril |
100| d MMMM 'de' y | 2008-1-14 | 14 de gener de 2008 |
101|  | 2008-4-14 | 14 d’abril de 2008 |
102
103�� **Translation Tips**
104
105- When working with patterns, look at the examples in the right information pane to validate your intention between the name and the pattern.
106- In order to get the right formats for your language, you may need to change the ordering of the [Date/Time Symbols](https://cldr.unicode.org/translation/date-time/date-time-symbols), and change the text around them.
107- You must match the names that should be used in patterns with intended forms of the names (wide or full, abbreviated and/or short, narrow forms) 
108	- For example:
109	- If you specify the time format "h:mm a", by using "a" your intention is to use the **Abbreviated formatting** name for AM/PM; thus, the end result being 2:37 PM.
110	- If you specify the time format "h:mm aaaaa", by using "aaaaa", your intention is to use the **Narrow formatting name** for AM/PM; thus, the end result being 2:37 p.
111- Understand the difference between formatting and standalone date and time names in your language and its intended usage in patterns.  For example, if you are working in Catalan (a locale that uses prepositions in formatting month names), and you provide “setembre” for the formatting month name instead of “de setembre,” then the pattern d MMMM will display as “12 septembre” instead of the correct pattern “12 de setembre.
112	- Some languages (e.g. Finnish and many Slavic languages) use a month name in nominative case when it is displayed without a day number, and use a different case (genitive, partitive, etc.) when the month is displayed with a day number. For these languages:
113	- The **stand-alone** month names should be **in nominative case**,
114	- And the **format** month names should be in genitive or a related case.
115- Even for language that do not require such different forms it is a good idea, for consistency, to use ‘L’ for months in patterns without ‘d’, and ‘M’ for months in patterns with ‘d’.
116
117## Basic Time Formats
118
119The standard formats include four basic time formats. See Survey Tool [Formats-Standard-Time formats](https://st.unicode.org/cldr-apps/v#/USER/Gregorian/1b89d7c2d516faca)120
121- full: Include hour (h/H), minute (mm), second (ss), and zone (zzzz).
122- long: Include hour, minute, second, and zone (z)
123- medium: Include hour, minute, second.
124- short: Include hour, minute.
125
126Using 24 hour vs 12 hour symbols: The symbols you use in time format patterns depend on whether the main country/region of the language uses 12-hour time or 24 hour format.
127
128- If the default country/region of the language use the 12-hour time clock, use patterns like "h:mm a" or "hh:mm a"
129	- **h** to mean a 12-hour clock cycle running 1 through 12 (midnight plus 1 minute is 12:01) with hh indicating leading zero to 2 digits
130	- K to mean a 12-hour clock cycle running 0 through 11 (midnight plus 1 minute is 0:01).
131	- **a** to get the equivalent of AM/PM
132	- **b** to add special representation of noon/midnight
133	- **B** to use day periods like “in the afternoon” instead of AM/PM.
134- If the default country/region of the language uses the 24-hour time clock, use a pattern like "**H:mm**" or "**HH:mm**"
135	- **H** to mean a 24-hour clock cycle running 0 through 23 (midnight plus 1 minute is 0:01) with **HH** indicating zero-padding to 2 digits
136	- **k** to mean a 24-hour clock cycle running 1 through 24 (midnight plus 1 minute is 24:01).
137	- **a**, **b**, and **B** are same as usage in 12 hour formats, but are not normally used with 24-hour time.
138
139If a non-default country/region use a different time format than the default country/region for the language, then this difference should be added for the sub-locale. Also see [Regional variants](https://cldr.unicode.org/translation/getting-started/guide#TOC-Regional-Variants-also-known-as-Sub-locales-)140
141For example, if es (= es\_ES, Spanish as used in Spain) uses 24-hour time formats, but es\_US (Spanish as used in United States) uses 12 hour time formats, then es would use "HH:mm/H:mm" and es\_US would use the "h" formats as described above. .
142
143�� **Translation Tips**
144
145- Languages should always have translations for AM/PM/noon even if every country/region that the language is used in has 24 hour time.  Many computing systems provide the flexibility for users to specify either 12 or 24 hour time setting on their system (also known as User preference overrides). This is why CLDR provide the flexible formats for both 12 and 24 hour systems.
146
147## Basic Date Formats
148
149The standard Date formats include four basic formats. See Survey Tool [Formats-Standard-Date formats](https://st.unicode.org/cldr-apps/v#/USER/Gregorian/562f98c4c6b2e321). (Note that the Month symbol especially may vary (M vs MM, or MMM vs LLL). For more information, see [Date/Time Symbols](https://cldr.unicode.org/translation/date-time/date-time-symbols).)
150
151| Form  |   Include |   English pattern examples |
152|---|---|---|
153|  Full    | long-weekday (EEEE), year (y), long-month (MMMM), day  In some non-Gregorian calendars, it will also contain G representing the era name, such as "AH" or "Heisei" (i.e. "平成").  For some languages, long months are not used; for example, in Japanese the numeric month is used in patterns, in front of the character 月. | EEEE, MMMM d, y     (e.g.  "Tuesday, September 14, 1999") |
154|  Long     |  year (y), long-month (MMMM), day (d). | MMMM d, y  (e.g. "September 14, 1999".) |
155|  Medium     |  year (y), abbreviated-month (MMM), day (d). For languages that do not use abbreviated months , use the numeric month (MM/M). For example,  "**y/MM/dd**" ,  corresponding to a date like "1999/09/14". |   MMM d, y (e.g.   "Sep 14, 1999".) |
156| Short      |  year, numeric-month (MM/M), and day. | M/d/yy (e.g.  "9/14/99") |
157
158## Additional Date-Time Formats
159
160The basic formats as described in above sections provide a small subset of the combinations. To expand to fully cover all variations of date and time formats, a skeleton format is provided that uses the [Date/Time Symbols](https://cldr.unicode.org/translation/date-time/date-time-symbols) (without order or punctuation) to indicate what fields are desired. 
161
162An example usage of the flexible formats would be: a software program only needs the year and month information, the flexible pattern yMMM would be used to provide the desired year and month formatting as shown in the English and Japanese examples in this table. 
163
164| Skeleton | English Pattern  | English Example  | Japanese Pattern | Japanese Example |
165|:---:|:---:|:---:|:---:|:---:|
166| **yMMM** | MMM y | Dec 2010 | y年M月  | 2010年12月 |
167
168|   Skeleton |  Hypothetical English case |  |    For ja@calendar=chinese |  |  |
169|---|---|---|---|---|---|
170|  |  **Pattern** |  **Example** |   |   |  |
171|   **supplied** |  MMMEd     |  E MMM d |  Tue Apr 18 |  MMMd日(E) |  四月18日(火) |
172|  **inferred 1** |  MMMMEd |  E MMMM d |  Tue April 18 |  MMMMd日(E) |  四月18日(火) |
173|   **inferred 2** |  MMMEEEEd |  EEEE MMM d |  Tuesday Apr 18  [incorrect] |  MMMd日(EEEE) |  四月18日(火 曜日)  [incorrect] |
174|   **inferred 3** |  MMMMEEEEd |  EEEE MMMM d |  Tuesday April 18 [incorrect] |  MMMMd日(EEEE) |  四月18日(火曜日)  [incorrect] |
175
176### Standalone vs. Formatting in Flexible formats
177
178In languages that distinguish between nominative and genitive (or related form such as partitive), the use of symbols in flexible formats also specify the use of nominative forms or genitive (or related) forms of month and day names. 
179
180- month names when day is not included (e.g. skeleton: [yMMM](https://st.unicode.org/cldr-apps/v#/USER/Gregorian/6fea4427938536b8))
181	- Specify the nominative forms in the **standalone** month names.
182		- Use the symbol "LLL" or "LLLL" in the patter, therefore, "LLLLy"
183	- month names when day is included (e.g. skeleton: [MMMd](https://st.unicode.org/cldr-apps/v#/USER/Gregorian/3124a5a401a45c9))
184		- Specify the genitive form (or a related form such as partitive) in **format** month names
185		- Use the symbol "MMM" or "MMMM"; therefore resulting in "d MMMM"
186	- day names may also vary for your language depending on the elements included in the pattern (e.g. [skeleton E](https://st.unicode.org/cldr-apps/v#/USER/Gregorian/140cf3a4c102803b) for day only, or [skeleton MEd](https://st.unicode.org/cldr-apps/v#/USER/Gregorian/2d123e52098e97f2) for month, day, and numeric day)
187	- Use symbols "ccc" or "cccc" in patterns to use the standalone name
188		- Use the symbol  "E" or "EEEE" to use the format name
189
190To understand which pattern characters are used for standalone forms (nominative) versus format forms (genitive or related, such as partitive), see [Stand-Alone vs Format Styles](https://cldr.unicode.org/translation/date-time/date-time-symbols), see also the discussion above in [Synchronizing Date/Time Names and Patterns](https://cldr.unicode.org/translation/date-time/date-time-patterns).
191
192### Supplied vs. Inferred patterns
193
194Some patterns supplied for each skeleton may be extended from the abbreviated form to an inferred full form by developers who use CLDR. 
195
196Some Inferred patterns usage are incorrect, instead use the most closely associated skeletons that are available. Build on a chain of fallback options based on available patterns is a good practice. 
197
198Example expansions:
199
200|  |  |  |  |  |  |
201|---|---|---|---|---|---|
202| **supplied** |  MMMEEEEd |  EEEE, MMM d |  Tuesday, Apr 18  [correct] |  MMMd日EEEE |  四月18日火曜日  [correct] |
203|   **inferred 4** |  MMMMEEEEd |  EEEE, MMMM d |  Tuesday, April 18 [correct] |  MMMMd日EEEE |  四月18日火曜日  [correct] |
204
205The correctness of inferred from abbreviated the full will differ by locale. 
206
207In the examples above table, Inferred 2 and Inferred 3 examples are incorrect, because:
208- English examples are incorrect, because you'd want a comma after the full day name EEEE (Tuesday, Apr 18).
209- Japanese examples are incorrect, because the full day name should not be in parenthesis.
210
211Some languages do not use abbreviated months; therefore, a skeleton containing abbreviated month MMM is mapped to a pattern that uses numeric month M or MM. For example, skeleton yMMMd may be supplied with the numeric month d.M.y.
212
213|   Skeleton | Pattern |  Example |  |
214|---|---|---|---|
215|   **supplied** |  yMMMd     | d.M.y | 18.4.2015 |
216|  **supplied** |  yMMMMd | d. MMMM y | 18. huhtikuuta 2015 |
217| without the second entry, would have:  **inferred** |  yMMMMd | d.M.y | 18.4.2015 |
218
219�� **Translation Tips**
220
221- In the Survey tool, the skeleton formats are under **Formats-Flexible-Date** formats and **Formats-Flexible-12/24 Time** formats.
222- The skeletons are listed in the **Code** column in Survey Tool.
223- For each skeleton formats, provide the ordering and punctuation that would be used in your locale. For example:
224	- ordering could be, whether it is common to write month first (MMMy) or year first (yMMM)
225	- punctuation could be, a comma (,) that may be needed between month and day
226- Follow the patterns in the survey tool and use the examples to understand the skeletons. Provide data for all flexible patterns.
227- : If your language has different grammatical forms for date symbols such as month and day names, the nominative forms of the names should be in the Survey Tool section marked "Standalone", and the genitive or related forms should be in the Survey Tool section marked "Formatting".
228
229### Day period patterns
230
231There are three pattern characters that can you can use to indicate the day period marker in 12-hour-cycle time formats:
232
233|  Symbol      |   Meaning |   English example |
234|---|---|---|
235| **a (abbreviated)  aaaa (full) aaaaa (narrow)** |  AM and PM   | 12:00 AM, 10:00 AM, 12:00 PM, 7:00 PM |
236| **b (abbreviated)  bbbb (full) bbbbb (narrow)** | AM, PM, noon and midnight, | 10:00 AM, 12:00 noon, 7:00 PM |
237| **B (abbreviated)  BBBB (full) BBBBB (narrow)** | day periods with locale-specific ranges.  If a locale does not have data for such day period ranges, this is equivalent to 'b'. | 2:00 at night, 10:00 in the morning, 12:00 in the afternoon, 7:00 in the evening. |
238
239With skeletons (listed in the **Code** column in Survey Tool) that specify 'h' but no day period, the corresponding patterns are specified with a day period, normally 'a' or 'b'. The patterns can be used to infer how to handle a request for a different day period. For example:
240
241|   Code |   English pattern (example) |  |
242|---|---|---|
243|   **supplied** |  hm |  h:mm a |
244|   **inferred**   |  ahm |  h:mm a |
245|   **inferred**   |  aaaahm |  h:mm aaaa |
246|   **inferred** |  bhm |  h:mm b |
247|   **inferred** |  bbbbhm |  h:mm bbbb |
248|   **inferred*** |  Bhm |  h:mm B [*see notes below] |
249|   **inferred*** |  BBBBhm |  h:mm BBBB [*see notes below] |
250
251Beginning in CLDR 32, there are 5 additional time patterns that indicate how times should be formatted using day period ranges 'B'. This allows locales to have formats for day period ranges that can display the range symbol in a different position than might be used for symbols for AM, PM, noon, or midnight:
252
253|   Code |   English pattern (example) |  |
254|---|---|---|
255|   **supplied** |  Bh |  B h |
256|   **supplied** |  Bhm |  B h:mm |
257|   **supplied** |  Bhms |  B h:mm:ss |
258|   **supplied** |  EBhm |  B h:mm, E |
259|   **supplied** |  EBhms |  B h:mm:ss, E |
260|   **inferred** |  BBBBhm |  BBBB h:mm |
261|   **inferred** |  ... |  ... |
262
263These new patterns are available in Gregorian and Generic calendars, In these new fields, provide locale data by:
264
265�� **Translation Tips**
266
2671. Examples in the Survey Tool show some day periods for the locale as shown in this screenshot below. If the examples for day period ranges show them in the wrong position, then the time formats specific to using day period ranges may be updated.
268	1. Placing the pattern character ('B' in the example below) in the correct position.
269	2. If it is equally good in two different positions, favor the position used for the 'a' pattern character.
270	3. If the position needs to be different depending on the width of B, please file a ticket.
2712. For more information on the day periods used in your language:
272	1. First see [Day Periods (AM, PM, etc.)](https://cldr.unicode.org/translation/date-time/date-time-names) for a general discussion of how day periods work.
273	2. See the [Day Periods](https://www.unicode.org/cldr/charts/45/supplemental/day_periods.html) chart for your language.
274
275![image](../../images/date-time/ST-flexibledayperiod.JPG)
276
277
278## Date-Time Combined Formats
279
280The date-time pattern shows how to combine separate patterns for date (represented by {1}) and time (represented by {0}) into a single pattern. It usually doesn't need to be changed. 
281
282What you want to pay attention to are:
283
284�� **Translation Tips**
285
286- Remove a space if your language does not use spaces, which is common for many East Asian languages
287- Add a comma, or other punctuation that your language requires between the patterns
288
289There are four formats: full, long, medium, and short. _Each of these may come in two variants_:
290
291- _The “-atTime” variant, which specifies a date at a particular time, typically for an event. In the longer formats (such as full and long), this “-atTime” form may have a combining word betwen the date and the time, for example “{1} 'at' {0}” to produce an English example like “Sunday, September 25 at 1:30 PM”)._
292- _The standard variant, which is used for multuple purposes and typically does not include any literal text, for example “{1}, {0}”. Usage examples include:_
293	- _Wall clock time: “Sunday, September 25, 1:30 PM”_
294	- _Combining a date with a time range: “Sunday, September 25, 1:30 – 3:00 PM”_
295
296_Before CLDR 42, there was only one variant for these. In English that variant used the “-atTime” style, as did many other locales. For CLDR 42, that  “-⁠atTime” data has been moved to the “-⁠atTime” variants, and the standard data has initially been extrapolated from the mediu or short formats without literal text. However, it needs to be checked._
297
298The determination of which to use by developers using CLDR data is normally based on the date style, for example:
299
300- If the date has a full month and weekday name, use the **full** combining pattern.
301- If the date has numeric month, use the **short** version of the combining pattern.
302
303Following are examples on how the data can be different by locale with different combinations of format length. (note: {1}=date format with {0}= time format)
304
305 
306
307Another way to look at the example with original patterns and combined result:
308
309| Pattern     |  English |  German |  Japanese |
310|---|---|---|---|
311|   [Full](https://st.unicode.org/cldr-apps/v#/fr/Gregorian/4caf0def588f4e8) {1} 'at' {0}<br /><br /> {Full form of the date format} at {full form of the time format}  |  {1} 'at' {0}<br /><br /> Sunday, September 5, 1999  at  1:25:59 PM Eastern Standard Time |  {1} 'um' {0}<br /><br /> Sonntag, 5. September 1999 um 13:25:59 Nordamerikanische Ostküsten-Normalzeit |  {1} {0}<br /><br /> 1999年9月5日日曜日 13時25分59秒 アメリカ東部標準時 |
312|   [Medium](https://st.unicode.org/cldr-apps/v#/fr/Gregorian/7a365a21694f0127)   {1}, {0}<br /><br /> {medium form of the date format}, {medium form of the time format}<br /><br /> Notice the comma and space between the date portion and the time portion. |  {1}, {0}<br /><br /> Sep 5, 1999, 1:25:59 PM  |  {1}, {0}  Result: 05.09.1999, 13:25:59 |  {1} {0}<br /><br /> 1999/09/05 13:25:59 |
313
314|  |  |  |  |
315|---|---|---|---|
316| date pattern | time pattern | date-time combining pattern used | formatted example |
317| MMMM d, y | h:mm a | [long]  {1} 'at' {0} | September 14, 1999 at 1:25 PM |
318| M/d/yy | h:mm a | [short] {1}, {0} | 9/14/99, 1:25 PM |
319
320|  |  |  |
321|---|---|---|
322| Survey Tool field |  English pattern | Pattern characters |
323|  yw-one |  'week' w 'of' Y  (example: Week 37 of 2009) | w designates the number of the week within a year calculated for week-of year purposes and indicated using the pattern character Y (instead of the normal year designator y). The year indicated by Y typically begins on the locale’s first day of the week and ends on the last day of the week, so its transitions may differ by a few days from the standard year indicated by y. |
324|  yw-other |  'week' w 'of' Y |  |
325|  MMMMW-one |  'week' W 'of' MMMM  (example: Week 3 of April) | W designates the number of the week within the month |
326|  MMMMW-other |  'week' W 'of' MMMM |  |
327
328## Week-Of Patterns
329
330The week-of date patterns were introduced in CLDR 30 for enumerating week count in larger periods, e.g. “week 15 of 2016” or “week 4 of April”. The Survey Tool fields and corresponding English entries are shown below:
331
332For developers who use CLDR data, 
333
334- The pattern can be selected based on the plural form associated with the week number, in case the form depends on the number.  (either -one or -other)
335- Currently these patterns only support cardinal numbers; in the future they may be extended to support ordinal numbers for usages such as “2nd week of April”. In this case the distinction by plural form associated with week number may become more relevant.
336
337�� **Translation Tips**
338
339- If your language has a grammatical difference in the month names(aside from just the simple addition of a prefix or suffix), localizers will need to use a work-around construction ([file a ticket](https://cldr.unicode.org/index/bug-reports#TOC-Filing-a-Ticket) if this is the case for your language).
340
341As described [under Date/Time Names](https://cldr.unicode.org/translation/date-time/date-time-names), CLDR also provides a relative week period pattern which is used for constructions such as “the week of April 11, 2016”. The English pattern that produces this is “the week of {0}”; the date format that replaces {0} is determined separately. Because the week-of patterns described here may appear in user interfaces that also show dates produced using the relative week period patterns, all of these patterns should be designed with consistent wording and structure.
342
343## Flexible - Timezone Append
344
345timezone: {0} {1} 
346
347See in [Survey Tool](https://st.unicode.org/cldr-apps/v#/USER/Gregorian/2de1cd6966f05c0f).
348
349The flexible append format for Timezone is used to compose a time and a timezone, to get a result like "11:30 Pacific Time". 
350
351- {0} will be replaced by the localized time format.
352- {1} will be replaced by the localized timezone.
353- For almost all locales it is just "{0} {1}" , but some locales may change the order, add punctuation, or remove the space.
354
355## Date/Time Intervals
356
357Interval patterns contain a start pattern and an end pattern (using the [Date/Time Symbols](https://cldr.unicode.org/translation/date-time/date-time-symbols)). They are used for a range of dates or times, such as "Sept 10–12" (meaning the 10th of September through the 12th of September). The interval format is used where it is necessary to make the pattern as short as possible, and elide information that does not have to be repeated. For example, the pattern used to get "Sept 10–12" in English is "MMM d–d".
358
359Unlike simple [Date/Time Patterns](https://cldr.unicode.org/translation/date-time/date-time-patterns), these consist of two parts, typically separated by with some kind of punctuation mark (e.g. English uses en-dash " – "). Also, some fields in the second part are omitted (e.g. "d – d MMM" omits repeat of MMM for the second part). The first field that comes from the second date is marked with red in the examples below.
360
361### Interval Formatting
362
363| Format Pattern | Date 1 | Date 2 | Result |
364|:---:|:---:|:---:|:---:|
365| MMM d– **d** | 2008-09-13 | 2008-09-15 | Sept 13–15 |
366| MMMM– **MMMM** , yyyy | 2008-09-01 | 2008-11-31 | September–November, 2008 |
367
368### Greatest Difference
369
370Each combination of fields can be used with dates that differ by different amounts. For example, a format for the fields "yMMMd" (year, abbreviated month, and day) could be used with two dates that differ by year, month, or day.
371
372As the examples below indicate, for a given skeleton, each type of difference might need a different pattern.
373
374For example,
375
376- when the greatest difference is a year, no part of the second pattern is omitted;
377- when the greatest difference is a month, then the year is not repeated, since it would be the same for each pattern.
378
379| Date 1 | Date 2 | Greatest Difference | Format Pattern | Shares |
380|:---:|:---:|---|---|---|
381| 2008-09-13 | **2009** -09-15 | year (yMd) | MMM d, yyyy –  **MMM**  d, yyyy | _nothing_ |
382| 2008-09-01 | 2008- **11** -31 | month (Md) | MMM d –  **MMM**  d, yyyy | _year_ |
383| 2008-09-01 | 2008-09- **05** | day (d) | MMM d– **d** , yyyy | _year and month_ |
384
385## Different Calendars
386
387Date and Time patterns are also available for other calendars in addition to the Gregorian calendar. For example, the Buddhist, Islamic, Hebrew, or Japanese calendars. 
388
389Different calendars work with the data in Gregorian, and Generic in the following ways:
390
391- Basic time formats for all calendars are inherited from the Gregorian time formats.
392- In many locales, the main difference between date formats for Gregorian calendars and non-Gregorian calendars is that non-Gregorian calendars always include the **calendar era** with the year.
393	- To avoid having to do this separately for each non-Gregorian calendar, CLDR has a special **“Generic”** calendar to specify standard date formats for non-Gregorian calendars.
394	- If you specify the date formats for the “Generic” calendar, using year with a calendar era, then those data formats will be used for most non-Gregorian calendars unless those calendars explicitly specify their own date formats.
395	- Because the Generic calendar does not have real names for months, weekdays and eras, the Survey Tool examples generated for this calendar may be confusing.
396- Calendars that do not inherit date formats from the Generic calendar are the **East Asian lunar calendars**: Chinese (lunar) and Dangi (Korean lunar). These have special formats involving cyclic names. The Dangu calendar inherits formats from the Chinese calendar data in the same locale, while the Chinese calendar inherits formats directly from the parent locale; that parent locale may be the root locale or inherit these formats directly from the root locale. For the lunar calendars, the root locale has formats that should be reasonable for use in most locales where the lunar calendars are not one of the primary calendars.
397
398