joshua_adeyemi
07/30/2021, 4:57 PM2021-07-28T15:08:23+00:00+00:00
joshua_adeyemi
07/30/2021, 4:57 PMaaronsteers
07/30/2021, 7:00 PMaaronsteers
07/30/2021, 7:01 PM.isoformat()
to be inclusive of timezone offset, and if so, this would be a clear bug: val.isoformat() + "+00:00"
.aaronsteers
07/30/2021, 7:02 PMaaronsteers
07/30/2021, 7:04 PM.isoformat()
does not include timezone offset text: https://docs.python.org/3/library/datetime.html#datetime.datetime.isoformataaronsteers
07/30/2021, 7:10 PMjoshua_adeyemi
07/30/2021, 7:12 PM2021-07-29T23:26:08Z+0000
, which was causing a parse error when the replication key was being retrievedjoshua_adeyemi
07/30/2021, 7:13 PMval.isoformat() + "+00:00"
caseaaronsteers
07/30/2021, 7:22 PM.isoformat()
that includes the timezone offset directly rather than as a text concatenation.edgar_ramirez_mondragon
07/30/2021, 7:33 PM>>> import datetime
>>> datetime.datetime(2021, 1, 1).isoformat()
'2021-01-01T00:00:00'
>>> from pytz import timezone
>>> datetime.datetime(2021, 1, 1, tzinfo=timezone("UTC")).isoformat()
'2021-01-01T00:00:00+00:00'
edgar_ramirez_mondragon
07/30/2021, 7:34 PMaaronsteers
07/30/2021, 9:09 PMaaronsteers
07/30/2021, 9:10 PMjoshua_adeyemi
07/30/2021, 11:09 PM