timeglider / jquery_widget

Timeglider's JS Widget component. See README for details.
193 stars 41 forks source link

Time events starting at midnight drop 1 hour #43

Open kpereyra opened 12 years ago

kpereyra commented 12 years ago

This works fine:

"startdate": "2011-05-13 23:00:00", "enddate": "2011-05-14 03:30:00",

but this one loses an hour: "startdate": "2011-05-14 00:00:00", "enddate": "2011-05-14 03:30:00",

When I view the item in the timeline and zoom in to the hour, it shows it as 1am rather than midnight. The mouseover and details also show 1:00 am-3:30 am instead of 00:00 AM-3:30 AM

timeglider commented 12 years ago

Thanks! I'll look into this in the next couple days.

---- Michael

On Tue, Mar 27, 2012 at 3:17 PM, kpereyra < reply@reply.github.com

wrote:

This works fine:

"startdate": "2011-05-13 23:00:00", "enddate": "2011-05-14 03:30:00",

but this one loses an hour: "startdate": "2011-05-14 00:00:00", "enddate": "2011-05-14 03:30:00",

When I view the item in the timeline and zoom in to the hour, it shows it as 1am rather than midnight. The mouseover and details also show 1:00 am-3:30 am instead of 00:00 AM-3:30 AM


Reply to this email directly or view it on GitHub: https://github.com/timeglider/jquery_widget/issues/43