<?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>13152</bug_id>
          
          <creation_ts>2011-07-05 19:59:50 +0000</creation_ts>
          <short_desc>How can DST be derived from time zone offset -04:00?</short_desc>
          <delta_ts>2011-08-04 05:34:59 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML WG</product>
          <component>LC1 HTML5 spec</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>NEEDSINFO</resolution>
          
          
          <bug_file_loc>http://www.whatwg.org/specs/web-apps/current-work/#global-dates-and-times</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>contributor</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>ayg</cc>
    
    <cc>lbloom</cc>
    
    <cc>mike</cc>
    
    <cc>philipj</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
          
          <qa_contact name="HTML WG Bugzilla archive list">public-html-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>50692</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2011-07-05 19:59:50 +0000</bug_when>
    <thetext>Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/common-microsyntaxes.html
Multipage: http://www.whatwg.org/C#global-dates-and-times
Complete: http://www.whatwg.org/c#global-dates-and-times

Comment:
How can DST be derive d from time zone offset -04:00?

Posted from: 93.216.203.46
User agent: Mozilla/5.0 (Windows NT 6.1; rv:5.0) Gecko/20100101 Firefox/5.0</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>50710</commentid>
    <comment_count>1</comment_count>
    <who name="Philip Jägenstedt">philipj</who>
    <bug_when>2011-07-06 08:26:12 +0000</bug_when>
    <thetext>It can&apos;t, DST is part of the offset. To know if DST applies, you have to know which country the timestamp is from, as DST varies depending on what lawmakers pull out of their hats.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>50746</commentid>
    <comment_count>2</comment_count>
    <who name="Aryeh Gregor">ayg</who>
    <bug_when>2011-07-06 20:06:46 +0000</bug_when>
    <thetext>This does not appear to contain any feedback on the specification.  Marking INVALID.  For information about daylight saving time, the Wikipedia article is probably a good place to look:

http://en.wikipedia.org/wiki/Daylight_saving_time</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>50747</commentid>
    <comment_count>3</comment_count>
    <who name="Alexander Veit">lbloom</who>
    <bug_when>2011-07-06 20:14:01 +0000</bug_when>
    <thetext>To cite the current spec:

&quot;1979-10-14T12:00:00.001-04:00
One millisecond after noon on October 14th 1979, in the time zone in use on the east coast of the USA during daylight saving time.&quot;

This is confusing, since the time zone cannot be derived from the offset. Offset to time zone is a 1:n correspondence.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>50758</commentid>
    <comment_count>4</comment_count>
    <who name="Aryeh Gregor">ayg</who>
    <bug_when>2011-07-06 21:39:44 +0000</bug_when>
    <thetext>EDITOR&apos;S RESPONSE: This is an Editor&apos;s Response to your comment. If you are
satisfied with this response, please change the state of this bug to CLOSED. If
you have additional information and would like the Editor to reconsider, please
reopen this bug. If you would like to escalate the issue to the full HTML
Working Group, please add the TrackerRequest keyword to this bug, and suggest
title and text for the Tracker Issue; or you may create a Tracker Issue
yourself, if you are able to do so. For more details, see this document:

   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Additional Information Needed
Change Description: no spec change
Rationale: What exactly is incorrect with the spec text you cite?  UTC-04:00 is in fact the time zone in use on the east coast of the USA during daylight saving time.  It is also the time zone in use in a number of other places, such as parts of Latin America and the Caribbean, but that doesn&apos;t make the example incorrect.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>50796</commentid>
    <comment_count>5</comment_count>
    <who name="Alexander Veit">lbloom</who>
    <bug_when>2011-07-07 21:13:09 +0000</bug_when>
    <thetext>(In reply to comment #4)
&gt; Rationale: What exactly is incorrect with the spec text you cite?  UTC-04:00 is
&gt; in fact the time zone in use on the east coast of the USA during daylight
&gt; saving time.  It is also the time zone in use in a number of other places, such
&gt; as parts of Latin America and the Caribbean, but that doesn&apos;t make the example
&gt; incorrect.

OK. My first reading of the example was that the time zone (... in use on the east coast of the USA during daylight saving time) would be implied by the given date-time literal, what is certainly not correct.

But as far as I can see, the only time zone that is relevant for this spec is UTC, what perfectly corresponds with the lack of calendaring support in ECMAScript. So the example may probably not confuse readers too much.

Sorry for the noise.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>53973</commentid>
    <comment_count>6</comment_count>
    <who name="Michael[tm] Smith">mike</who>
    <bug_when>2011-08-04 05:34:59 +0000</bug_when>
    <thetext>mass-move component to LC1</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>