Skip to content

dataLoadStatus and dateTimes #30

Description

@mobb

Background: Our list of preferred dateTimeFormatString is based on ISO

there are datetime strings in this list that pg does not understand. So a plain to_timestamp('2018-08-08 09:00-08','' does not always work.

example dataset: https://portal-s.edirepository.org/nis/reportviewer?packageid=knb-lter-ble.9.1
with the dateTimeFormatString = YYYY-MM-DDThh:mm-hh The last -hh is the offset to UTC, and is correct.
the error you get is

ERROR: conflicting values for "mm" field in formatting string Detail: This value contradicts a previous setting for the same field type.

To see what strings posgtres allows, see
https://www.postgresqltutorial.com/postgresql-to_timestamp/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions