This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 30237 - Error in documentation: Formatting timezones
Summary: Error in documentation: Formatting timezones
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: Functions and Operators 3.1 (show other bugs)
Version: Recommendation
Hardware: PC Linux
: P2 editorial
Target Milestone: ---
Assignee: Michael Kay
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
Depends on:
Reported: 2018-03-30 19:11 UTC by bugzilla
Modified: 2018-04-24 17:56 UTC (History)
0 users

See Also:


Description bugzilla 2018-03-30 19:11:56 UTC
I think there is a typo in the "XPath and XQuery Functions and Operators 3.1" specification.

In section " Formatting timezones", there is a table showing examples of timezone formatting. The last row shows the output when $place is set to "America/New_York". The examples assume that New York is in timezone EST which is 5 hours behind UTC.

The output for midday UTC-10 is shown as "06:00 EST" but it should actually be "17:00 EST". If it is midday in a timezone 10 hours behind UTC, that means it is 22:00 UTC. EST is 5 hours behind UTC, so the time in New York would be 17:00, not 06:00.
Comment 1 Michael Kay 2018-04-24 17:56:39 UTC
An erratum has been created.