Skip to content
This repository was archived by the owner on Oct 13, 2022. It is now read-only.
This repository was archived by the owner on Oct 13, 2022. It is now read-only.

dates lose timezone attribute when you subset them #46

Description

@limnoliver

@rbcarvin learned something new with this one! In RMevents, we find "start date" by subsetting by event and finding the minimum. When you subset dates like this, you drop the attributes of the data, which includes time zone. Then, R assigns a time zone, which is the time zone of your computer. So, this is why we're getting converted dates that are correct, but events that are an hour off during DST.

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

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions