jiahuang / d3-timeline

Simple JS timeline plugin for d3
1.04k stars 280 forks source link

What time format is the examples in? #28

Closed jhwhite closed 10 years ago

jhwhite commented 10 years ago

In the README.md what format is the starting_time and ending_time in?

If I have a dates like (Jun 1 2014, July 1 2014, Aug 1 2014), how do I put those on this time series?

ppapadeas commented 10 years ago

You need to provide the dates in Unix time format in milliseconds. So if you have a function to translate the dates in Unix time format multiply by 1000 and you are all set.