is there a way to have quarter of a year intervals in the simile timeline javascript widget?

javascript, simile, timeline

Solution

The Simile wiki has some notes on how to add new intervals to `Timeline.DateTime` by editing `date-time.js` and `labelers.js`. This would be one way to add support for a quarter of a year interval.

Looking at the source code repository for Simile timeline, there is also a `planning` extension to timeline that includes support for `Timeline.PlanningUnit.QUARTER`, which may already do what you want

Problem

When using the javascript timeline widget simile, i see there is hour, day, week, month, year intervals. Is there anyway to have an interval be a quarter of a year? i am trying to group events into Quarter1, Q2, Q3, Q4 in 2010.

Original source