Closed mcarans closed 5 months ago
mark_data_updated is broken due to an error in dataset_update_filestore_resource in which timezone information was incorrectly added to the iso formatted string due to the following erroneous change to replace deprecated utcnow() function
datetime.utcnow().isoformat(timespec="microseconds") '2024-04-25T22:42:58.501073' became: datetime.now(timezone.utc).isoformat(timespec="microseconds") '2024-04-25T22:43:10.746691+00:00'
datetime.utcnow().isoformat(timespec="microseconds") '2024-04-25T22:42:58.501073'
datetime.now(timezone.utc).isoformat(timespec="microseconds") '2024-04-25T22:43:10.746691+00:00'
mark_data_updated is broken due to an error in dataset_update_filestore_resource in which timezone information was incorrectly added to the iso formatted string due to the following erroneous change to replace deprecated utcnow() function
datetime.utcnow().isoformat(timespec="microseconds") '2024-04-25T22:42:58.501073'
became:datetime.now(timezone.utc).isoformat(timespec="microseconds") '2024-04-25T22:43:10.746691+00:00'