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

date ranges to include relative end time... do something on sunday for 4hours #20

Open
jayenne opened this issue Mar 28, 2017 · 0 comments

Comments

@jayenne
Copy link

jayenne commented Mar 28, 2017

Hi Neil,
Would it be trivial to ask for relative end times?
Imagine I were to set an event that has a duration rather than fixed end time but it should be completed at some point on a given date. e.g: "Do something on Sunday for 4hours"
The 'start' and 'end' would still need to be set for this as well as an additional 'duration'

I guess it would need to include the follow cases:

Do something on Sunday at 6pm for 4hours
Do something on Sunday at 6pm for 4hours 30minutes
Do something on Sunday at 6pm for 4h 30m
Do something on Sunday at 6pm for 4.5h (calculated as a decimal time == 4h 30m)

...However: Do something on Sunday at 6pm for 7:30 would return a 1:30 duration as 7:30 is a recognized 'time' format and not a recognized 'duration' format.

Thanks for listening.

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

No branches or pull requests

1 participant