oliviaramos / simile-widgets

Automatically exported from code.google.com/p/simile-widgets
0 stars 0 forks source link

TIMELINE. Some events missing from fine-grained band #148

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
First let me say that this project is very nice. A group of religious
studies students at UNC Chapel Hill wanted to create a timeline based on
the Simile code, and so I'm trying to adapt this for them.

Go to www.russkerschner.com/timeline/relstudies, and scroll to the entry at
1087 BCE. It is visible on the century band but not the year band. If I
change the units for the upper band to 'century' I can see the entry. Is
there a known fix for this? Thanks.

Win32 Apache2 server 

[Submitted by Russ Kerschner on simile.mit.edu] 

First of all, let's use iso8601 as the date/time format. It'll save you
some trouble, I think.

So, in your HTML code, change var date = ... to

var date = Timeline.DateTime.parseIso8601DateTime("1980-01-01");

You can use negative years for BC.

In your xml file, change <data> to

<data date-time-format="iso8601">

Then you need to change the dates for each event over to iso8601 format,
e.g., change start="Jan 1 1975 AD" to

start="1975-01-01"

Let me know if that works. 

Original issue reported on code.google.com by GabrielR...@googlemail.com on 5 Apr 2009 at 2:33

GoogleCodeExporter commented 8 years ago
I've got the same issue

Did someone find a way to make it works?

Thanks!

This project is great.

Original comment by ricbo...@gmail.com on 8 Apr 2011 at 8:32