archives

« Bugzilla Issues Index

#229 — Support non-numeric forms of year, day, hour, minute, second in DateTimeFormat


Chinese, Japanese, and Korean commonly use representations of year, month, day, hour, minute, second that combine a number with a descriptive character, e.g., 2011年, 22일, 1時31分07秒. The current format specifications for DateTimeFormat have no way to describe such representations, except for the month component. While implementations may choose to use these representations in formats that include a short/medium/long month, there's no way to adequately report this back in resolvedOptions, and there's no way to request a time format such as 1時31分07秒.

Support for these formats should be added.


Related ICU bug - http://bugs.icu-project.org/trac/ticket/9626.