[NumPy-Tickets] [NumPy] #1908: incorrect parsing of datetime64 strings in 1.6.1rc3

NumPy Trac numpy-tickets@scipy....
Fri Jul 15 23:41:39 CDT 2011


#1908: incorrect parsing of datetime64 strings in 1.6.1rc3
------------------------+---------------------------------------------------
 Reporter:  rocha       |       Owner:  somebody   
     Type:  defect      |      Status:  new        
 Priority:  normal      |   Milestone:  Unscheduled
Component:  numpy.core  |     Version:  devel      
 Keywords:  datetime    |  
------------------------+---------------------------------------------------
 The following dtypes should use the same datetime64 time resultions,
 however one is in [us] and the other in [s]:

 >>> print numpy.dtype('i, datetime64[s]');
 [('f0', '<i4'), ('f1', ('<M8[us]', {}))]

 >>> print numpy.dtype([('f1', 'i'), ('f2', 'datetime64[s]')])
 [('f1', '<i4'), ('f2', ('<M8[s]', {}))]

 Python 2.6.6
 numpy 1.6.1rc3

-- 
Ticket URL: <http://projects.scipy.org/numpy/ticket/1908>
NumPy <http://projects.scipy.org/numpy>
My example project


More information about the NumPy-Tickets mailing list