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

ChoreStartTime returning incorrect start_time (datetime) and start_time_string #1213

Open
gtonkin opened this issue Jan 15, 2025 · 0 comments
Labels

Comments

@gtonkin
Copy link
Contributor

gtonkin commented Jan 15, 2025

StartTime values from the REST API called would looks something like "2016-02-13T05:00+02:00" or "2016-02-13T05:00Z" or "2016-02-13T05:00-02:00"

When retrieving the start_time or start_time_string it appears that the seconds component is added but where timezone is not Zulu, the offset becomes the seconds so you end up with a value like "2016-02-13T05:00:02+02:00".
Seconds should always be 00 as you cannot schedule a chore by seconds, only by hours and minutes.

@gtonkin gtonkin added the bug label Jan 15, 2025
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

1 participant