litteralis: do not send microseconds (#87648) #487
Loading…
Reference in New Issue
No description provided.
Delete Branch "wip/87648-litteralis-strip-microseconds"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@ -70,3 +70,3 @@
assert req.headers['Content-Type'] == 'application/json'
json_req = json.loads(req.body)
assert json_req['dateEnvoi'] == '2022-10-03T12:43:18+00:00'
assert json_req['dateEnvoi'] == '2022-10-03T12:43:18+02:00'
En passant on se rend compte qu'avant la prise en charge des timezones par wcs on recevait l'heure locale mais on la transmettait à littéralis en tant qu'heure +00:00.
@ -40,3 +40,3 @@
if obj is None:
raise APIError('Invalid datetime format: %s' % datetime_str)
return obj
return obj.replace(microsecond=0)
La correction en tant que telle.
WIP: litteralis: do not send microseconds (#87648)to litteralis: do not send microseconds (#87648)