Mark,

In JavaScript, the date object declaration uses 0 indexed months for the 
months argument, so new Date(1216,0,1) is actually January 1, 1216. Have a 
look at my note in the wiki at 
http://code.google.com/p/simile-widgets/wiki/Timeline_EventSourceJSON_jsDate.

I'm delighted that it worked for you.

Best,
Jon
>
> Actually, it's Mark - DSW stands for Digital ShipWrright!
>
> I initially used the same date format as your file, but I noticed that
> all of my dates were off by one month. I would enter June in the file,
> but the Timeline would show July! When I changed the dates to the old
> format, the dates showed up correctly. This may have been when the
> problem started, but I'm not certain.
>
> I inserted the iso8601 declaration in the carrier3.js file and that
> seems to have solved the problem!
>
> Everything is working now, but my question is why was the date off by
> 1 month?
>
> Thanks for solving my problem!
>
> Mark

--~--~---------~--~----~------------~-------~--~----~
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