UNPKG

twitter_cldr

Version:

JavaScript implementation of the ICU (International Components for Unicode) that uses the Common Locale Data Repository to format dates, plurals, and more. Based on twitter-cldr-rb

1,971 lines (1,964 loc) 660 kB
/* // Copyright 2012 Twitter, Inc // http://www.apache.org/licenses/LICENSE-2.0 // TwitterCLDR (JavaScript) v3.3.0 // Authors: Cameron Dutro [@camertron] Kirill Lashuk [@KL_7] portions by Sven Fuchs [@svenfuchs] // Homepage: https://twitter.com // Description: Provides date, time, number, and list formatting functionality for various Twitter-supported locales in Javascript. */ /*-module-*/ /*_lib/twitter_cldr_*/ (function() { var TwitterCldrDataBundle, key, obj, root; TwitterCldrDataBundle = { "Settings": { "is_rtl": false, "locale": "sv" }, "PluralRules": { "rules": { "cardinal": "(function(num, runtime) { var n = runtime.n(num); var i = runtime.i(num); var v = runtime.v(num); var w = runtime.w(num); var f = runtime.f(num); var t = runtime.t(num); return ((i == 1 \u0026\u0026 v == 0) ? 'one' : 'other'); })", "ordinal": "(function(num, runtime) { var n = runtime.n(num); var i = runtime.i(num); var v = runtime.v(num); var w = runtime.w(num); var f = runtime.f(num); var t = runtime.t(num); return ((((n % 10 == 1) || (n % 10 == 2)) \u0026\u0026 ((n % 100 != 11) \u0026\u0026 (n % 100 != 12))) ? 'one' : 'other'); })" }, "names": { "cardinal": ["one", "other"], "ordinal": ["one", "other"] } }, "TimespanFormatter": { "patterns": { "ago": { "second": { "default": { "one": "för {0} sekund sedan", "other": "för {0} sekunder sedan" } }, "minute": { "default": { "one": "för {0} minut sedan", "other": "för {0} minuter sedan" } }, "hour": { "default": { "one": "för {0} timme sedan", "other": "för {0} timmar sedan" } }, "day": { "default": { "one": "för {0} dag sedan", "other": "för {0} dagar sedan" } }, "week": { "default": { "one": "för {0} vecka sedan", "other": "för {0} veckor sedan" } }, "month": { "default": { "one": "för {0} månad sedan", "other": "för {0} månader sedan" } }, "year": { "default": { "one": "för {0} år sedan", "other": "för {0} år sedan" } } }, "until": { "second": { "default": { "one": "om {0} sekund", "other": "om {0} sekunder" } }, "minute": { "default": { "one": "om {0} minut", "other": "om {0} minuter" } }, "hour": { "default": { "one": "om {0} timme", "other": "om {0} timmar" } }, "day": { "default": { "one": "om {0} dag", "other": "om {0} dagar" } }, "week": { "default": { "one": "om {0} vecka", "other": "om {0} veckor" } }, "month": { "default": { "one": "om {0} månad", "other": "om {0} månader" } }, "year": { "default": { "one": "om {0} år", "other": "om {0} år" } } }, "none": { "second": { "default": { "one": "{0} sekund", "other": "{0} sekunder" }, "short": { "one": "{0} s", "other": "{0} s" }, "abbreviated": { "one": "{0}s", "other": "{0}s" } }, "minute": { "default": { "one": "{0} minut", "other": "{0} minuter" }, "short": { "one": "{0} min", "other": "{0} min" }, "abbreviated": { "one": "{0}m", "other": "{0}m" } }, "hour": { "default": { "one": "{0} timme", "other": "{0} timmar" }, "short": { "one": "{0} tim", "other": "{0} tim" }, "abbreviated": { "one": "{0}h", "other": "{0}h" } }, "day": { "default": { "one": "{0} dygn", "other": "{0} dygn" }, "short": { "one": "{0} d", "other": "{0} d" }, "abbreviated": { "one": "{0}d", "other": "{0}d" } }, "week": { "default": { "one": "{0} vecka", "other": "{0} veckor" }, "short": { "one": "{0} v", "other": "{0} v" } }, "month": { "default": { "one": "{0} månad", "other": "{0} månader" }, "short": { "one": "{0} mån", "other": "{0} mån" } }, "year": { "default": { "one": "{0} år", "other": "{0} år" }, "short": { "one": "{0} år", "other": "{0} år" } } } } }, "DateTimeFormatter": { "tokens": { "date_time": { "default": [ { "value": "d", "type": "pattern" }, { "value": " ", "type": "plaintext" }, { "value": "MMM", "type": "pattern" }, { "value": " ", "type": "plaintext" }, { "value": "y", "type": "pattern" }, { "value": " ", "type": "plaintext" }, { "value": "HH", "type": "pattern" }, { "value": ":", "type": "plaintext" }, { "value": "mm", "type": "pattern" }, { "value": ":", "type": "plaintext" }, { "value": "ss", "type": "pattern" } ], "full": [ { "value": "EEEE", "type": "pattern" }, { "value": " ", "type": "plaintext" }, { "value": "d", "type": "pattern" }, { "value": " ", "type": "plaintext" }, { "value": "MMMM", "type": "pattern" }, { "value": " ", "type": "plaintext" }, { "value": "y", "type": "pattern" }, { "value": " ", "type": "plaintext" }, { "value": "'kl'", "type": "plaintext" }, { "value": ". ", "type": "plaintext" }, { "value": "HH", "type": "pattern" }, { "value": ":", "type": "plaintext" }, { "value": "mm", "type": "pattern" }, { "value": ":", "type": "plaintext" }, { "value": "ss", "type": "pattern" }, { "value": " ", "type": "plaintext" }, { "value": "zzzz", "type": "pattern" } ], "long": [ { "value": "d", "type": "pattern" }, { "value": " ", "type": "plaintext" }, { "value": "MMMM", "type": "pattern" }, { "value": " ", "type": "plaintext" }, { "value": "y", "type": "pattern" }, { "value": " ", "type": "plaintext" }, { "value": "HH", "type": "pattern" }, { "value": ":", "type": "plaintext" }, { "value": "mm", "type": "pattern" }, { "value": ":", "type": "plaintext" }, { "value": "ss", "type": "pattern" }, { "value": " ", "type": "plaintext" }, { "value": "z", "type": "pattern" } ], "medium": [ { "value": "d", "type": "pattern" }, { "value": " ", "type": "plaintext" }, { "value": "MMM", "type": "pattern" }, { "value": " ", "type": "plaintext" }, { "value": "y", "type": "pattern" }, { "value": " ", "type": "plaintext" }, { "value": "HH", "type": "pattern" }, { "value": ":", "type": "plaintext" }, { "value": "mm", "type": "pattern" }, { "value": ":", "type": "plaintext" }, { "value": "ss", "type": "pattern" } ], "short": [ { "value": "y", "type": "pattern" }, { "value": "-", "type": "plaintext" }, { "value": "MM", "type": "pattern" }, { "value": "-", "type": "plaintext" }, { "value": "dd", "type": "pattern" }, { "value": " ", "type": "plaintext" }, { "value": "HH", "type": "pattern" }, { "value": ":", "type": "plaintext" }, { "value": "mm", "type": "pattern" } ], "additional": { "E": [ { "value": "ccc", "type": "pattern" } ], "EHm": [ { "value": "E", "type": "pattern" }, { "value": " ", "type": "plaintext" }, { "value": "HH", "type": "pattern" }, { "value": ":", "type": "plaintext" }, { "value": "mm", "type": "pattern" } ], "EHms": [ { "value": "E", "type": "pattern" }, { "value": " ", "type": "plaintext" }, { "value": "HH", "type": "pattern" }, { "value": ":", "type": "plaintext" }, { "value": "mm", "type": "pattern" }, { "value": ":", "type": "plaintext" }, { "value": "ss", "type": "pattern" } ], "Ed": [ { "value": "E", "type": "pattern" }, { "value": " ", "type": "plaintext" }, { "value": "d", "type": "pattern" } ], "Ehm": [ { "value": "E", "type": "pattern" }, { "value": " ", "type": "plaintext" }, { "value": "h", "type": "pattern" }, { "value": ":", "type": "plaintext" }, { "value": "mm", "type": "pattern" }, { "value": " ", "type": "plaintext" }, { "value": "a", "type": "pattern" } ], "Ehms": [ { "value": "E", "type": "pattern" }, { "value": " ", "type": "plaintext" }, { "value": "h", "type": "pattern" }, { "value": ":", "type": "plaintext" }, { "value": "mm", "type": "pattern" }, { "value": ":", "type": "plaintext" }, { "value": "ss", "type": "pattern" }, { "value": " ", "type": "plaintext" }, { "value": "a", "type": "pattern" } ], "Gy": [ { "value": "y", "type": "pattern" }, { "value": " ", "type": "plaintext" }, { "value": "G", "type": "pattern" } ], "GyMMM": [ { "value": "MMM", "type": "pattern" }, { "value": " ", "type": "plaintext" }, { "value": "y", "type": "pattern" }, { "value": " ", "type": "plaintext" }, { "value": "G", "type": "pattern" } ], "GyMMMEd": [ { "value": "E", "type": "pattern" }, { "value": " ", "type": "plaintext" }, { "value": "d", "type": "pattern" }, { "value": " ", "type": "plaintext" }, { "value": "MMM", "type": "pattern" }, { "value": " ", "type": "plaintext" }, { "value": "y", "type": "pattern" }, { "value": " ", "type": "plaintext" }, { "value": "G", "type": "pattern" } ], "GyMMMd": [ { "value": "d", "type": "pattern" }, { "value": " ", "type": "plaintext" }, { "value": "MMM", "type": "pattern" }, { "value": " ", "type": "plaintext" }, { "value": "y", "type": "pattern" }, { "value": " ", "type": "plaintext" }, { "value": "G", "type": "pattern" } ], "H": [ { "value": "HH", "type": "pattern" } ], "Hm": [ { "value": "HH", "type": "pattern" }, { "value": ":", "type": "plaintext" }, { "value": "mm", "type": "pattern" } ], "Hms": [ { "value": "HH", "type": "pattern" }, { "value": ":", "type": "plaintext" }, { "value": "mm", "type": "pattern" }, { "value": ":", "type": "plaintext" }, { "value": "ss", "type": "pattern" } ], "M": [ { "value": "L", "type": "pattern" } ], "MEd": [ { "value": "E", "type": "pattern" }, { "value": " ", "type": "plaintext" }, { "value": "d", "type": "pattern" }, { "value": "/", "type": "plaintext" }, { "value": "M", "type": "pattern" } ], "MMM": [ { "value": "LLL", "type": "pattern" } ], "MMMEd": [ { "value": "E", "type": "pattern" }, { "value": " ", "type": "plaintext" }, { "value": "d", "type": "pattern" }, { "value": " ", "type": "plaintext" }, { "value": "MMM", "type": "pattern" } ], "MMMMEd": [ { "value": "E", "type": "pattern" }, { "value": " ", "type": "plaintext" }, { "value": "d", "type": "pattern" }, { "value": " ", "type": "plaintext" }, { "value": "MMMM", "type": "pattern" } ], "MMMMd": [ { "value": "d", "type": "pattern" }, { "value": " ", "type": "plaintext" }, { "value": "MMMM", "type": "pattern" } ], "MMMd": [ { "value": "d", "type": "pattern" }, { "value": " ", "type": "plaintext" }, { "value": "MMM", "type": "pattern" } ], "MMd": [ { "value": "d", "type": "pattern" }, { "value": "/", "type": "plaintext" }, { "value": "M", "type": "pattern" } ], "MMdd": [ { "value": "dd", "type": "pattern" }, { "value": "/", "type": "plaintext" }, { "value": "MM", "type": "pattern" } ], "Md": [ { "value": "d", "type": "pattern" }, { "value": "/", "type": "plaintext" }, { "value": "M", "type": "pattern" } ], "d": [ { "value": "d", "type": "pattern" } ], "h": [ { "value": "h", "type": "pattern" }, { "value": " ", "type": "plaintext" }, { "value": "a", "type": "pattern" } ], "hm": [ { "value": "h", "type": "pattern" }, { "value": ":", "type": "plaintext" }, { "value": "mm", "type": "pattern" }, { "value": " ", "type": "plaintext" }, { "value": "a", "type": "pattern" } ], "hms": [ { "value": "h", "type": "pattern" }, { "value": ":", "type": "plaintext" }, { "value": "mm", "type": "pattern" }, { "value": ":", "type": "plaintext" }, { "value": "ss", "type": "pattern" }, { "value": " ", "type": "plaintext" }, { "value": "a", "type": "pattern" } ], "ms": [ { "value": "mm", "type": "pattern" }, { "value": ":", "type": "plaintext" }, { "value": "ss", "type": "pattern" } ], "y": [ { "value": "y", "type": "pattern" } ], "yM": [ { "value": "y", "type": "pattern" }, { "value": "-", "type": "plaintext" }, { "value": "MM", "type": "pattern" } ], "yMEd": [ { "value": "E", "type": "pattern" }, { "value": ", ", "type": "plaintext" }, { "value": "y", "type": "pattern" }, { "value": "-", "type": "plaintext" }, { "value": "MM", "type": "pattern" }, { "value": "-", "type": "plaintext" }, { "value": "dd", "type": "pattern" } ], "yMM": [ { "value": "y", "type": "pattern" }, { "value": "-", "type": "plaintext" }, { "value": "MM", "type": "pattern" } ], "yMMM": [ { "value": "MMM", "type": "pattern" }, { "value": " ", "type": "plaintext" }, { "value": "y", "type": "pattern" } ], "yMMMEd": [ { "value": "E", "type": "pattern" }, { "value": " ", "type": "plaintext" }, { "value": "d", "type": "pattern" }, { "value": " ", "type": "plaintext" }, { "value": "MMM", "type": "pattern" }, { "value": " ", "type": "plaintext" }, { "value": "y", "type": "pattern" } ], "yMMMd": [ { "value": "d", "type": "pattern" }, { "value": " ", "type": "plaintext" }, { "value": "MMM", "type": "pattern" }, { "value": " ", "type": "plaintext" }, { "value": "y", "type": "pattern" } ], "yMd": [ { "value": "y", "type": "pattern" }, { "value": "-", "type": "plaintext" }, { "value": "MM", "type": "pattern" }, { "value": "-", "type": "plaintext" }, { "value": "dd", "type": "pattern" } ], "yQQQ": [ { "value": "y", "type": "pattern" }, { "value": " ", "type": "plaintext" }, { "value": "QQQ", "type": "pattern" } ], "yQQQQ": [ { "value": "y", "type": "pattern" }, { "value": " ", "type": "plaintext" }, { "value": "QQQQ", "type": "pattern" } ] } }, "time": { "default": [ { "value": "HH", "type": "pattern" }, { "value": ":", "type": "plaintext" }, { "value": "mm", "type": "pattern" }, { "value": ":", "type": "plaintext" }, { "value": "ss", "type": "pattern" } ], "full": [ { "value": "'kl'", "type": "plaintext" }, { "value": ". ", "type": "plaintext" }, { "value": "HH", "type": "pattern" }, { "value": ":", "type": "plaintext" }, { "value": "mm", "type": "pattern" }, { "value": ":", "type": "plaintext" }, { "value": "ss", "type": "pattern" }, { "value": " ", "type": "plaintext" }, { "value": "zzzz", "type": "pattern" } ], "long": [ { "value": "HH", "type": "pattern" }, { "value": ":", "type": "plaintext" }, { "value": "mm", "type": "pattern" }, { "value": ":", "type": "plaintext" }, { "value": "ss", "type": "pattern" }, { "value": " ", "type": "plaintext" }, { "value": "z", "type": "pattern" } ], "medium": [ { "value": "HH", "type": "pattern" }, { "value": ":", "type": "plaintext" }, { "value": "mm", "type": "pattern" }, { "value": ":", "type": "plaintext" }, { "value": "ss", "type": "pattern" } ], "short": [ { "value": "HH", "type": "pattern" }, { "value": ":", "type": "plaintext" }, { "value": "mm", "type": "pattern" } ], "additional": { "E": [ { "value": "ccc", "type": "plaintext" } ], "EHm": [ { "value": "E ", "type": "plaintext" }, { "value": "HH", "type": "pattern" }, { "value": ":", "type": "plaintext" }, { "value": "mm", "type": "pattern" } ], "EHms": [ { "value": "E ", "type": "plaintext" }, { "value": "HH", "type": "pattern" }, { "value": ":", "type": "plaintext" }, { "value": "mm", "type": "pattern" }, { "value": ":", "type": "plaintext" }, { "value": "ss", "type": "pattern" } ], "Ed": [ { "value": "E d", "type": "plaintext" } ], "Ehm": [ { "value": "E ", "type": "plaintext" }, { "value": "h", "type": "pattern" }, { "value": ":", "type": "plaintext" }, { "value": "mm", "type": "pattern" }, { "value": " ", "type": "plaintext" }, { "value": "a", "type": "pattern" } ], "Ehms": [ { "value": "E ", "type": "plaintext" }, { "value": "h", "type": "pattern" }, { "value": ":", "type": "plaintext" }, { "value": "mm", "type": "pattern" }, { "value": ":", "type": "plaintext" }, { "value": "ss", "type": "pattern" }, { "value": " ", "type": "plaintext" }, { "value": "a", "type": "pattern" } ], "Gy": [ { "value": "y G", "type": "plaintext" } ], "GyMMM": [ { "value": "MMM y G", "type": "plaintext" } ], "GyMMMEd": [ { "value": "E d MMM y G", "type": "plaintext" } ], "GyMMMd": [ { "value": "d MMM y G", "type": "plaintext" } ], "H": [ { "value": "HH", "type": "pattern" } ], "Hm": [ { "value": "HH", "type": "pattern" }, { "value": ":", "type": "plaintext" }, { "value": "mm", "type": "pattern" } ], "Hms": [ { "value": "HH", "type": "pattern" }, { "value": ":", "type": "plaintext" }, { "value": "mm", "type": "pattern" }, { "value": ":", "type": "plaintext" }, { "value": "ss", "type": "pattern" } ], "M": [ { "value": "L", "type": "plaintext" } ], "MEd": [ { "value": "E d/M", "type": "plaintext" } ], "MMM": [ { "value": "LLL", "type": "plaintext" } ], "MMMEd": [ { "value": "E d MMM", "type": "plaintext" } ], "MMMMEd": [ { "value": "E d MMMM", "type": "plaintext" } ], "MMMMd": [ { "value": "d MMMM", "type": "plaintext" } ], "MMMd": [ { "value": "d MMM", "type": "plaintext" } ], "MMd": [ { "value": "d/M", "type": "plaintext" } ], "MMdd": [ { "value": "dd/MM", "type": "plaintext" } ], "Md": [ { "value": "d/M", "type": "plaintext" } ], "d": [ { "value": "d", "type": "plaintext" } ], "h": [ { "value": "h", "type": "pattern" }, { "value": " ", "type": "plaintext" }, { "value": "a", "type": "pattern" } ], "hm": [ { "value": "h", "type": "pattern" }, { "value": ":", "type": "plaintext" }, { "value": "mm", "type": "pattern" }, { "value": " ", "type": "plaintext" }, { "value": "a", "type": "pattern" } ], "hms": [ { "value": "h", "type": "pattern" }, { "value": ":", "type": "plaintext" }, { "value": "mm", "type": "pattern" }, { "value": ":", "type": "plaintext" }, { "value": "ss", "type": "pattern" }, { "value": " ", "type": "plaintext" }, { "value": "a", "type": "pattern" } ], "ms": [ { "value": "mm", "type": "pattern" }, { "value": ":", "type": "plaintext" }, { "value": "ss", "type": "pattern" } ], "y": [ { "value": "y", "type": "plaintext" } ], "yM": [ { "value": "y-MM", "type": "plaintext" } ], "yMEd": [ { "value": "E, y-MM-dd", "type": "plaintext" } ], "yMM": [ { "value": "y-MM", "type": "plaintext" } ], "yMMM": [ { "value": "MMM y", "type": "plaintext" } ], "yMMMEd": [ { "value": "E d MMM y", "type": "plaintext" } ], "yMMMd": [ { "value": "d MMM y", "type": "plaintext" } ], "yMd": [ { "value": "y-MM-dd", "type": "plaintext" } ], "yQQQ": [ { "value": "y QQQ", "type": "plaintext" } ], "yQQQQ": [ { "value": "y QQQQ", "type": "plaintext" } ] } }, "date": { "default": [ { "value": "d", "type": "pattern" }, { "value": " ", "type": "plaintext" }, { "value": "MMM", "type": "pattern" }, { "value": " ", "type": "plaintext" }, { "value": "y", "type": "pattern" } ], "full": [ { "value": "EEEE", "type": "pattern" }, { "value": " ", "type": "plaintext" }, { "value": "d", "type": "pattern" }, { "value": " ", "type": "plaintext" }, { "value": "MMMM", "type": "pattern" }, { "value": " ", "type": "plaintext" }, { "value": "y", "type": "pattern" } ], "long": [ { "value": "d", "type": "pattern" }, { "value": " ", "type": "plaintext" }, { "value": "MMMM", "type": "pattern" }, { "value": " ", "type": "plaintext" }, { "value": "y", "type": "pattern" } ], "medium": [ { "value": "d", "type": "pattern" }, { "value": " ", "type": "plaintext" }, { "value": "MMM", "type": "pattern" }, { "value": " ", "type": "plaintext" }, { "value": "y", "type": "pattern" } ], "short": [ { "value": "y", "type": "pattern" }, { "value": "-", "type": "plaintext" }, { "value": "MM", "type": "pattern" }, { "value": "-", "type": "plaintext" }, { "value": "dd", "type": "pattern" } ], "additional": { "E": [ { "value": "ccc", "type": "pattern" } ], "EHm": [ { "value": "E", "type": "pattern" }, { "value": " HH:mm", "type": "plaintext" } ], "EHms": [ { "value": "E", "type": "pattern" }, { "value": " HH:mm:ss", "type": "plaintext" } ], "Ed": [ { "value": "E", "type": "pattern" }, { "value": " ", "type": "plaintext" }, { "value": "d", "type": "pattern" } ], "Ehm": [ { "value": "E", "type": "pattern" }, { "value": " h:mm a", "type": "plaintext" } ], "Ehms": [ { "value": "E", "type": "pattern" }, { "value": " h:mm:ss a", "type": "plaintext" } ], "Gy": [ { "value": "y", "type": "pattern" }, { "value": " ", "type": "plaintext" }, { "value": "G", "type": "pattern" } ], "GyMMM": [ { "value": "MMM", "type": "pattern" }, { "value": " ", "type": "plaintext" }, { "value": "y", "type": "pattern" }, { "value": " ", "type": "plaintext" }, { "value": "G", "type": "pattern" } ], "GyMMMEd": [ { "value": "E", "type": "pattern" }, { "value": " ", "type": "plaintext" }, { "value": "d", "type": "pattern" }, { "value": " ", "type": "plaintext" }, { "value": "MMM", "type": "pattern" }, { "value": " ", "type": "plaintext" }, { "value": "y", "type": "pattern" }, { "value": " ", "type": "plaintext" }, { "value": "G", "type": "pattern" } ], "GyMMMd": [ { "value": "d", "type": "pattern" }, { "value": " ", "type": "plaintext" }, { "value": "MMM", "type": "pattern" }, { "value": " ", "type": "plaintext" }, { "value": "y", "type": "pattern" }, { "value": " ", "type": "plaintext" }, { "value": "G", "type": "pattern" } ], "H": [ { "value": "HH", "type": "plaintext" } ], "Hm": [ { "value": "HH:mm", "type": "plaintext" } ], "Hms": [ { "value": "HH:mm:ss", "type": "plaintext" } ], "M": [ { "value": "L", "type": "pattern" } ], "MEd": [ { "value": "E", "type": "pattern" }, { "value": " ", "type": "plaintext" }, { "value": "d", "type": "pattern" }, { "value": "/", "type": "plaintext" }, { "value": "M", "type": "pattern" } ], "MMM": [ { "value": "LLL", "type": "pattern" } ], "MMMEd": [ { "value": "E", "type": "pattern" }, { "value": " ", "type": "plaintext" }, { "value": "d", "type": "pattern" }, { "value": " ", "type": "plaintext" }, { "value": "MMM", "type": "pattern" } ], "MMMMEd": [ { "value": "E", "type": "pattern" }, { "value": " ", "type": "plaintext" }, { "value": "d", "type": "pattern" }, { "value": " ", "type": "plaintext" }, { "value": "MMMM", "type": "pattern" } ], "MMMMd": [ { "value": "d", "type": "pattern" }, { "value": " ", "type": "plaintext" }, { "value": "MMMM", "type": "pattern" } ], "MMMd": [ { "value": "d", "type": "pattern" }, { "value": " ", "type": "plaintext" }, { "value": "MMM", "type": "pattern" } ], "MMd": [ { "value": "d", "type": "pattern" }, { "value": "/", "type": "plaintext" }, { "value": "M", "type": "pattern" } ], "MMdd": [ { "value": "dd", "type": "pattern" }, { "value": "/", "type": "plaintext" }, { "value": "MM", "type": "pattern" } ], "Md": [ { "value": "d", "type": "pattern" }, { "value": "/", "type": "plaintext" }, { "value": "M", "type": "pattern" } ], "d": [ { "value": "d", "type": "pattern" } ], "h": [ { "value": "h a", "type": "plaintext" } ], "hm": [ { "value": "h:mm a", "type": "plaintext" } ], "hms": [ { "value": "h:mm:ss a", "type": "plaintext" } ], "ms": [ { "value": "mm:ss", "type": "plaintext" } ], "y": [ { "value": "y", "type": "pattern" } ], "yM": [ { "value": "y", "type": "pattern" }, { "value": "-", "type": "plaintext" }, { "value": "MM", "type": "pattern" } ], "yMEd": [ { "value": "E", "type": "pattern" }, { "value": ", ", "type": "plaintext" }, { "value": "y", "type": "pattern" }, { "value": "-", "type": "plaintext" }, { "value": "MM", "type": "pattern" }, { "value": "-", "type": "plaintext" }, { "value": "dd", "type": "pattern" } ], "yMM": [ { "value": "y", "type": "pattern" }, { "value": "-", "type": "plaintext" }, { "value": "MM", "type": "pattern" } ], "yMMM": [ { "value": "MMM", "type": "pattern" }, { "value": " ", "type": "plaintext" }, { "value": "y", "type": "pattern" } ], "yMMMEd": [ { "value": "E", "type": "pattern" }, { "value": " ", "type": "plaintext" }, { "value": "d", "type": "pattern" }, { "value": " ", "type": "plaintext" }, { "value": "MMM", "type": "pattern" }, { "value": " ", "type": "plaintext" }, { "value": "y", "type": "pattern" } ], "yMMMd": [ { "value": "d", "type": "pattern" }, { "value": " ", "type": "plaintext" }, { "value": "MMM", "type": "pattern" }, { "value": " ", "type": "plaintext" }, { "value": "y",