Mantis - Squeak
Viewing Issue Advanced Details
7553 Kernel minor always 08-05-10 13:20 02-06-11 23:48
seandenigris  
leves  
normal  
closed trunk  
fixed  
none    
none trunk  
0007553: DateAndTime has inconsistent instance creation behavior
DateAndTime fromString: '8/5/2010 at 6pm'.
Returns: "2010-08-05T18:00:00+00:00"

DateAndTime date: Date today time: (Time fromString: '6pm').
Returns: "2010-08-05T18:00:00-04:00" (-4 is my local offset)

Notes
(0013832)
seandenigris   
08-05-10 13:53   
In Inbox:
Kernel-spd.476
KernelTests-spd.157

DateAndTime class>>fromString: and DateAndTime class>>readFrom: now use local offset if none is specified.
(0013904)
leves   
11-06-10 06:17   
They are in the Trunk now.