Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Automatically convert date and datetime to time or raise an exception #103
So right now to get the occurrences or any other such I have to for instance first convert a date to time. I would like ice_cube to either raise an exception or automatically convert the date to a time.
I can add this functionality myself but I want to know which path you would like to take. If you for instance only see ice_cube used in scenarios where there is a time then you would probably want the user to be told about this by raising an error.
If you however prefer the path of least resistance which might not be such a bad thing in case someone wants to know if something is scheduled today and just send a date in maybe that could be converted to time for these but not for scheduling.
Please report back with your thoughts so that I can start implementing this (we ran into some issues with not getting occurrences back because of sending date or datetime in)