Opened 8 years ago
Closed 8 years ago
#14939 closed defect (invalid)
dojo.date.locale.format() inconsistency
Reported by: | tk | Owned by: | tk |
---|---|---|---|
Priority: | high | Milestone: | tbd |
Component: | Date | Version: | 1.7.2 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
Line 115 of locale.js reads:
case 'K': 0-11
However documentation for the K format option says it should be 1-12 which means Line 116 should read identical to Line 110 (or they could be combined)
Example:
a = new Date("2012-03-14 12:00:00")
Wed Mar 14 2012 12:00:00 GMT-0500 (CDT)
dojo.date.locale.format(a, {selector: 'time', timePattern: "K:mm a"})
"0:00 PM" should read "12:00: PM"
Change History (2)
comment:1 Changed 8 years ago by
Owner: | changed from Adam Peller to tk |
---|---|
Status: | new → pending |
comment:2 Changed 8 years ago by
Resolution: | → invalid |
---|---|
Status: | pending → closed |
Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!
@tk, what's your source? I'm going by http://unicode.org/reports/tr35/tr35-6.html