[OpenLayers-Trac] Re: [OpenLayers] #2994: some test_Date_parse tests fail in Chrome 8 and 9

OpenLayers trac-20090302 at openlayers.org
Wed Feb 23 04:16:40 EST 2011


#2994: some test_Date_parse tests fail in Chrome 8 and 9
-----------------------+----------------------------------------------------
 Reporter:  erilem     |       Owner:  tschaub     
     Type:  bug        |      Status:  assigned    
 Priority:  minor      |   Milestone:  2.11 Release
Component:  BaseTypes  |     Version:  2.10        
 Keywords:             |       State:              
-----------------------+----------------------------------------------------
Changes (by tschaub):

  * owner:  => tschaub
  * status:  new => assigned
  * component:  tests => BaseTypes
  * type:  feature => bug


Comment:

 Chrome decides that the datestring is in the local timezone if not
 otherwise specified.  Firefox decides that the datestring is in UTC if not
 otherwise specified (WebKit has not yet weighed in).  So, using the native
 {{{Date.parse}}} we get different behavior across implementations.  To get
 consistency, we won't use the native {{{Date.parse}}}.

-- 
Ticket URL: <http://trac.openlayers.org/ticket/2994#comment:1>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer


More information about the Trac mailing list