pybuildkite icon indicating copy to clipboard operation
pybuildkite copied to clipboard

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

Open selobu opened this issue 1 year ago • 0 comments

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 avatar Jun 01 '23 14:06 selobu