rfc:datetime_and_daylight_saving_time

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
rfc:datetime_and_daylight_saving_time [2011/10/18 19:17] – zt1 tests pass!, plus minor wording tweaks danielcrfc:datetime_and_daylight_saving_time [2017/09/22 13:28] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ====== Request for Comments: DateTime and Daylight Saving Time Transitions ====== ====== Request for Comments: DateTime and Daylight Saving Time Transitions ======
-  * Version: 0.6+  * Version: 1.0
   * Date: 2011-10-18   * Date: 2011-10-18
   * Author: Daniel Convissor <danielc@php.net> with feedback from Derick Rethans <derick@php.net>   * Author: Daniel Convissor <danielc@php.net> with feedback from Derick Rethans <derick@php.net>
-  * Status: Draft+  * Status: Accepted ([[rfc:datetime_and_daylight_saving_time:vote|voting results]])
   * First Published at: https://wiki.php.net/rfc/datetime_and_daylight_saving_time   * First Published at: https://wiki.php.net/rfc/datetime_and_daylight_saving_time
  
Line 124: Line 124:
  
 Reminder: the time zone in the examples is ''America/New_York''. Reminder: the time zone in the examples is ''America/New_York''.
-So "(ST)" represents Eastern Standard Time/EST/-0500 and "(DT)" represents Eastern Daylight Time/EDT/-0400.+So "(ST)" represents Eastern Standard Time/EST/-0500 and "(DT)" 
 +represents Eastern Daylight Time/EDT/-0400.
  
 The behaviors indicated here are covered by unit tests in ''ext/date/tests'': The behaviors indicated here are covered by unit tests in ''ext/date/tests'':
-  * xxxx.phpt +  * rfc-datetime_and_daylight_saving_time-type1.phpt 
-  * yyyy.phpt +  * rfc-datetime_and_daylight_saving_time-type2.phpt 
-  * zzzz.phpt+  * rfc-datetime_and_daylight_saving_time-type3.phpt
  
 Each output line in the test files is prefixed with an identifier Each output line in the test files is prefixed with an identifier
Line 235: Line 236:
 | ''2010-11-07T01:30:00''//(DT)// | PT21H  | ''2010-11-06T04:30:00''//(DT)// | bs6 | | | ''2010-11-07T01:30:00''//(DT)// | PT21H  | ''2010-11-06T04:30:00''//(DT)// | bs6 | |
 | ''2010-11-07T01:30:00''//(DT)// | P1D    | ''2010-11-06T01:30:00''//(DT)// | bs7 | | | ''2010-11-07T01:30:00''//(DT)// | P1D    | ''2010-11-06T01:30:00''//(DT)// | bs7 | |
-| ''2010-11-07T01:30:00''//(ST)// | P1DT1H | ''2010-11-06T01:30:00''//(DT)// | bs8 | ''2010-11-06T00:30:00''//(DT)// |+| ''2010-11-07T01:30:00''//(ST)// | P1DT1H | ''2010-11-06T00:30:00''//(DT)// | bs8 | |
 | ''2010-11-07T03:30:00''//(ST)// | P1D    | ''2010-11-06T03:30:00''//(DT)// | bs9 | | | ''2010-11-07T03:30:00''//(ST)// | P1D    | ''2010-11-06T03:30:00''//(DT)// | bs9 | |
 | ''2010-11-07T02:30:00''//(ST)// | P1D    | ''2010-11-06T02:30:00''//(DT)// | bs10 | | | ''2010-11-07T02:30:00''//(ST)// | P1D    | ''2010-11-06T02:30:00''//(DT)// | bs10 | |
Line 270: Line 271:
 | ''2010-11-07T04:30:00''//(ST)// | P1D    | ''2010-11-06T04:30:00''//(ST)// | bs2 | N/A | | ''2010-11-07T04:30:00''//(ST)// | P1D    | ''2010-11-06T04:30:00''//(ST)// | bs2 | N/A |
 | ''2010-11-07T03:30:00''//(ST)// | PT24H  | ''2010-11-06T03:30:00''//(ST)// | bs3 | N/A | | ''2010-11-07T03:30:00''//(ST)// | PT24H  | ''2010-11-06T03:30:00''//(ST)// | bs3 | N/A |
-| ''2010-11-07T02:30:00''//(ST)// | PT23H  | ''2010-11-06T04:30:00''//(ST)// | bs4 | N/A | +| ''2010-11-07T02:30:00''//(ST)// | PT23H  | ''2010-11-06T03:30:00''//(ST)// | bs4 | N/A | 
-| ''2010-11-07T01:30:00''//(ST)// | PT22H  | ''2010-11-06T04:30:00''//(ST)// | bs5 | N/A |+| ''2010-11-07T01:30:00''//(ST)// | PT22H  | ''2010-11-06T03:30:00''//(ST)// | bs5 | N/A |
 | ''2010-11-07T01:30:00''//(DT)// | PT21H  | ''2010-11-06T04:30:00''//(DT)// | bs6 | N/A | | ''2010-11-07T01:30:00''//(DT)// | PT21H  | ''2010-11-06T04:30:00''//(DT)// | bs6 | N/A |
 | ''2010-11-07T01:30:00''//(DT)// | P1D    | ''2010-11-06T01:30:00''//(DT)// | bs7 | N/A | | ''2010-11-07T01:30:00''//(DT)// | P1D    | ''2010-11-06T01:30:00''//(DT)// | bs7 | N/A |
-| ''2010-11-07T01:30:00''//(ST)// | P1DT1H | ''2010-11-06T01:30:00''//(ST)// | bs8 | N/A |+| ''2010-11-07T01:30:00''//(ST)// | P1DT1H | ''2010-11-06T00:30:00''//(ST)// | bs8 | N/A |
 | ''2010-11-07T03:30:00''//(ST)// | P1D    | ''2010-11-06T03:30:00''//(ST)// | bs9 | N/A | | ''2010-11-07T03:30:00''//(ST)// | P1D    | ''2010-11-06T03:30:00''//(ST)// | bs9 | N/A |
 | ''2010-11-07T02:30:00''//(ST)// | P1D    | ''2010-11-06T02:30:00''//(ST)// | bs10 | N/A | | ''2010-11-07T02:30:00''//(ST)// | P1D    | ''2010-11-06T02:30:00''//(ST)// | bs10 | N/A |
rfc/datetime_and_daylight_saving_time.1318965478.txt.gz · Last modified: 2017/09/22 13:28 (external edit)