Charlie Davis wrote:
> Hey all,
> I've run into small problem and I'm sure someone can point me in the
> right direction. :)
>
> I have some dates stored in my MySQL DB:
>
> 2008-05-12 00:00:00 - 2008-05-12 01:00:00
>
> When I spit that out in a format for timeline to read it's as such:
>
> May 12 2008 00:00:00 - May 12 2008 01:00:00
>
> The problem is that timeline is showing this "event" an hour earlier
> (from 11 to midnight the previous day).
>
> Normally this wouldn't be a problem just to change my timeZone setting
> to -7 as opposed to -8 but when I change it to -7, a pile of "events"
> that were showing correctly get shifted an hour off.
>
> Is there a way to *not* have timeline do timezones? Just display an
> event at the time specified? Meaning, if it says from midnight to 1AM,
> show it from midnight to 1AM without doing timezone calculations.
>
Hi Charlie,
I believe I've fixed this problem in version 2.0 of Timeline:
http://static.simile.mit.edu/timeline/api-2.0/timeline-api.js
If a date does not have a time zone specified then it takes on the time
zone of the browser. The timeline is set to the browser's timezone by
default.
David
_______________________________________________
General mailing list
[email protected]
http://simile.mit.edu/mailman/listinfo/general