Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A few questions #286

Closed
marcusx2 opened this issue Dec 31, 2020 · 5 comments
Closed

A few questions #286

marcusx2 opened this issue Dec 31, 2020 · 5 comments
Labels

Comments

@marcusx2
Copy link

marcusx2 commented Dec 31, 2020

  1. 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?
  2. 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?
@marcusx2 marcusx2 changed the title duration units? A few questions Dec 31, 2020
@marcusx2
Copy link
Author

marcusx2 commented Jan 2, 2021

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.

@FindingAnand
Copy link
Collaborator

⚠️ This issue has not seen any activity in the past 2 months so I'm marking it as stale. I'll close it if it doesn't see any activity in the coming week.

@FindingAnand FindingAnand added the wontfix This will not be worked on label Mar 4, 2021
@marcusx2
Copy link
Author

marcusx2 commented Mar 4, 2021

...

@FindingAnand FindingAnand removed the wontfix This will not be worked on label Mar 5, 2021
@Heatmanofurioso
Copy link

It would be great to get some response on this

@FindingAnand
Copy link
Collaborator

🎉 This issue has been resolved in version 2.1.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants