« Bugzilla Issues Index
#698 — Public API for ToLocalTime
- bug_id:
698
- creation_ts:
2012-10-02 16:30:00 -0700
- short_desc:
Public API for ToLocalTime
- delta_ts:
2012-10-16 15:06:10 -0700
- product:
Internationalization - ECMA-402
- component:
Specification
- version:
Edition 2.0 proposals
- rep_platform:
All
- op_sys:
All
- bug_status:
CONFIRMED
- priority:
Normal
- bug_severity:
enhancement
- everconfirmed:
true
- reporter:
Norbert
- assigned_to:
Norbert
- commentid:
1818
- comment_count:
0
- who:
Norbert
- bug_when:
2012-10-02 16:30:19 -0700
Edition 1.0, section 12.3.2 describes an abstract operation ToLocalTime, which converts a given date to its corresponding weekday/era/year/month/day/hour/minute/second/inDST values, taking the provided calendar and time zone into consideration.
Exposing this function as public API would allow the many JavaScript date/time formatting libraries to support non-Gregorian calendars and time zones other than UTC and local time.