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

Datetime object with tzinfo failed to get pybuildkite.builds.Builds #89

Open
selobu opened this issue Jun 1, 2023 · 0 comments
Open

Comments

@selobu
Copy link

selobu commented Jun 1, 2023

If you use a datetime object including tzinfo e.g.

from datetime import datetime, deltatime
from datetime impor timezone

UTC = timezone.utc

finished_from  = datetime.now(UTC)-deltatime(days=1)

then you'll get an error because the api endpoint will be wrong generated

@selobu selobu changed the title Datetime object with tzinfo failed to get pybuilduildkite.builds.Builds Datetime object with tzinfo failed to get pybuildkite.builds.Builds Jun 1, 2023
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