On Mon, Sep 14, 2009 at 9:07 PM, dlamoris <[email protected]> wrote: > > I've just recently discovered Timeline and Timeplot and wanted to say > thanks for all the good work. I'm currently trying to get Timeplot to > display the tooltip times in UTC. My source time is in iso8610 format > with a Z at the end to indicate utc, but when the times are displayed > they're in my local time. Is there an option to tell it to use utc > time and specify the format for display (eg. iso8601)? I saw there was > a timeZone key in the param to Timeplot.DefaultTimeGeometry, but > wasn't sure what the value should be. I tried 0 and 'Z' but that > didn't seem to do anything...Any help will be appreciated! >
Due to bugs in the code, even if the original source-time is iso8601 in UTC, it will end up being displayed in the local time zone. You can fix it by subtracing the timezone offset in the original times (it'll show up incorrect in Timeline which does the right thing w/ timezones). In order to fix it consistently between Timeplot and Timeline, I employ method override suggested below, plus some CSS fixes. For me, this seems to take care of most of the problems I was having with Timeplot and Timezones. (Now my working-prototype screens look like http://nielsmayer.com/mjspecial-bugfixed-timeplot.png http://nielsmayer.com/mjspecial-2view-tonic-mode-segmenter.png ) For details, see http://groups.google.com/group/simile-widgets/msg/017e5250850b9333 <http://groups.google.com/group/simile-widgets/msg/017e5250850b9333> http://groups.google.com/group/simile-widgets/msg/8b059f68b1e661af <http://groups.google.com/group/simile-widgets/msg/017e5250850b9333?>Niels http://nielsmayer.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en -~----------~----~----~----~------~----~------~--~---
