feat(utils/Date): Add time zone name to fields#245
Conversation
Preview DeploymentPreview URL: https://preview-tam-bdms-718-auejgdbofq-uc.a.run.app Note: This preview uses the staging API endpoints. |
|
In file: OcotilloAPI/services/water_level_csv.py Lines: 472 - 482 The issue is here: the hydrologist enters the date and time in their local time zone (as they see on their watch), and then we store that value directly in the database as UTC without converting it from MT to UTC. So that's what the frontend gets and then converts. |
|
I think the issue is only for the well inventory importer, not the water level importer. The well inventory importer does not normalize @TylerAdamMartinez The dates from the water level importer you referenced abobe are actually converted and stored as UTC (see I'd suggest the following updates to the well inventory importer:
Relevant well inventoy importer files:
We may also want to evaluate previously imported well inventory records for potential backfilling or updates to |
|
sounds like a good plan. update well inventory importer and backfill already imported dates. @ksmuczynski the backfill can be tested locally and on staging, then applied to production. |
|
This is a backend issue. For a detailed bug fix, see OcotilloAPI PR#653. |
Why
This PR addresses the following problem/context:
How
Implementation summary - the following was changed/added/removed:
Notes
Any special considerations, workarounds, or follow-up work to note?