A few questions
marcusx2 opened this issue Β· comments
- The description doesn't say what are the duration units available. By searching the issues and the web, I found there are at least: hour, minute, and day. Are there any others?
- Between end, duration, and allDay fields, which one them takes priority? Are they mutually exclusive or can I use all of them at once(even though it doesn't actually make sense)? For example, can I have the duration field saying 2 hours, but have the allDay field set to true? Can I have the duration field and the end field even if they don't match? Do I get errors if I use all of them at once or does it simply generate a calendar event with potentially contradicting data?
Regarding my first question, upon further investigation on the source I found these units: millisecond, second, minute, hour, day, week, month, quarter, year
. I tested all of them, on all calendars. millisecond
and second
don't work, simply because the calendars don't have enough precision I suspect. However, quarter
doesn't work as well, and I suspect this one should. Maybe I should open a new issue for this? Not sure if it's a bug though, still didn't get a response on what are the official supported units.
...
It would be great to get some response on this
The release is available on:
Your semantic-release bot