Hi Larry, thanks for the response. The main problem I have is that the data in my xml file contains dates with BST as the timezone, i.e.
<event start="Apr 22 2009 11:10:00 BST" end="Apr 22 2009 11:14:00 BST" isDuration="true" color="blue" title="Test Job 1"> </event> Can the timeline api read this date format? Or do I have to add code to subtract an hour from each time component and change "BST" to "GMT" in order to get the xml to display? The xml displays fine when I simply change BST to GMT manually On Apr 12, 10:01 pm, [email protected] wrote: > Hi Jake, > > 1. I suggest that you use the current version of Timeline, 2.3.1. > ie, use:http://api.simile-widgets.org/timeline/2.3.1/timeline-api.js > 2. Have you set the timezone of the Timeline? > > See the timezone > example,http://code.google.com/p/simile-widgets/source/browse/timeline/trunk/... > > Regards, > > Larry > > On Apr 10, 3:46 pm, jake <[email protected]> wrote: > > > > > Hi, > > > I had my timeline working nicely up until the UK time changed to BST a > > week or so ago. Now I have 2 problems: - > > > 1) When my timeline loads, it goes to the current date/time. However > > it appears to be on GMT as its an hour behind the actual time > > > 2) The date formats for my events are pulled from a database which > > stores the dates as BST. However I get no events displayed on the > > timeline when the dates in the xml file have BST as the timezone. If I > > manually change the xml dates to all be GMT and refresh the browser, > > the events then display on the timeline ok (although 1 hour behind > > actual time) > > > Can anyone confirm that the timeline cannot handle BST timezone? > > > I'm using: - > > src="http://static.simile.mit.edu/timeline/api-2.0/timeline-api.js" > > type="text/javascript"- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
