Skip to content

v3.5.0

Choose a tag to compare

@kshetline kshetline released this 30 Aug 09:21
· 23 commits to master since this release
683d058
  • Special CJK date formatting options

The date formatting tokens YYYY, y, MMMM, MM, M, DD, and D can now have an optional trailing tilde (~) added. This is for special handling of Chinese, Japanese, and Korean (CJK) date notation. The ~ is replaced, where appropriate, with , , or for Chinese and Japanese, and with , , or for Korean. Korean formatting also adds a space character when the following character is a letter or digit, but not when punctuation or the end of the format string comes next.

For all other languages, ~ is replaced with a space character when the following character is a letter or digit, or simply removed when followed by punctuation or the end of the format string.

  • Added Timezone.getAllTransitions() function.
  • Improved retrieval of timezone updates, taking advantage of tzexplorer.org.