> Ohhh, Timeplot, err um, hmmm....
>
> Timelplot is above my paygrade...

And two steps above mine:-)

> My 2 cents worth:
> 1) Try doing everything (your data's dates) in UTC/GMT. My guess is that it
> will all work fine.

They are.  Since the granularity is in years, a few hours shouldn't
make a difference.  But it does because of how it's rounding things in
geometry.js, and thus incorrectly labelling the years on the plot.

> 2) If you want to use Central Europe timezone (+1), that's fine, but you'll
> need to debug the problem. Since it works in Timeline, the problem is in
> Timeplot, not the underlying Simile-Ajax lib.

Yes, it definitely is.  In _calculateGrid, on about line 630.  Since I
don't care about a few hours here or there, I really don't care or
need timezones - I just want the years in my labels to be accurate,
rather than shifted back a year!

> Timeline handles Timezone issues by having the timezone specified as part of
> the object creation, and then using it. If you don't track the timezone,
> then you can end up with funky problems like the one you're receiving.
> Remember that the browser's timezone can vary widely. -- And it is not
> always set correctly--there are plenty of people who change their computer's
> time instead of the timezone.
> But since you control your data, you should know the correct timezone for
> the data. And if your data doesn't have a timezone per se, then I strongly
> recommend explicitly using UTC/GMT in such cases.
>
> The trunk version of Timeline now includes a timezone test example courtesy
> of David H. You can use it as a model for testing out timezones in Timeplot.

Hrm.  I'll see if I can take it and beat it into shape to demonstrate
the bug I'm seeing.  Thanks!

-- 
David N. Welton

http://www.welton.it/davidw/

http://www.dedasys.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
-~----------~----~----~----~------~----~------~--~---

Reply via email to