Skip to content

Account for Chile DST in "night" searches #166

Description

@phirstgemini

We currently have a fixed CHILE_OFFSET defined in gemini_metadata_utils/datetimes.py

It would be better to have postgres do this properly using existing timezone definitions:

phirst=> select timestamp with time zone '2026-09-15 14:00:00 Chile/Continental';
      timestamptz       
------------------------
 2026-09-15 17:00:00+00
(1 row)

phirst=> select timestamp with time zone '2026-08-15 14:00:00 Chile/Continental';
      timestamptz       
------------------------
 2026-08-15 18:00:00+00
(1 row)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions