Sept. 27, 2011
9:01 p.m.
Looks strange to me. Stef On Sep 27, 2011, at 10:47 PM, Chris Cunningham wrote:
Hi. This behavior tricked me and I'm curious if this is inteded or not. If you take a timestamp from a string, and the hour is 24:00:00, then it will assume that the time is at the beginning of the day, that is, 23+ hours before the timestamp that starts at 23:59:59.
TimeStamp fromString: '2011-09-27 24:00:00' -> '27 September 2011 12:00 am'
I would have hoped that would either be the end of the day, or the begining of the next one.
So, is this expected behaviour?
Thanks, Chris