sbstjn / timesheet.js

JavaScript library for HTML5 & CSS3 time sheets

Home Page:https://sbstjn.github.io/timesheet.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use two periods of time in same line

wbecher opened this issue · comments

Use two periods of time in same line

It's a good idea !

Also think this would be nice, if 2 periods don't overlap, can we put them on the same lane?
I haven't looked at the source yet, but if that isn't a big change, I would consider to submit a PR :)

Feel free to submit PR! 👍

But consider adding an option to decide if two periods should be on the same line or in separated lines :)

It would be nice if it could accept an array of arrays per a line as an option, e.g.,

...
[[['01/2008', '05/2009'], ['02/2010', '05/2010']], "Something happened", "tag"],
[[2000, 2004], "Unfortunately this is ambiguous"],
...