<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>30237</bug_id>
          
          <creation_ts>2018-03-30 19:11:56 +0000</creation_ts>
          <short_desc>Error in documentation: Formatting timezones</short_desc>
          <delta_ts>2018-04-24 17:56:39 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>XPath / XQuery / XSLT</product>
          <component>Functions and Operators 3.1</component>
          <version>Recommendation</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>editorial</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>bugzilla</reporter>
          <assigned_to name="Michael Kay">mike</assigned_to>
          
          
          <qa_contact name="Mailing list for public feedback on specs from XSL and XML Query WGs">public-qt-comments</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>129125</commentid>
    <comment_count>0</comment_count>
    <who name="">bugzilla</who>
    <bug_when>2018-03-30 19:11:56 +0000</bug_when>
    <thetext>I think there is a typo in the &quot;XPath and XQuery Functions and Operators 3.1&quot; specification.

In section &quot;9.8.4.6 Formatting timezones&quot;, there is a table showing examples of timezone formatting. The last row shows the output when $place is set to &quot;America/New_York&quot;. 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 &quot;06:00 EST&quot; but it should actually be &quot;17:00 EST&quot;. 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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>129156</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2018-04-24 17:56:39 +0000</bug_when>
    <thetext>An erratum has been created.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>