Skip to content

Bug in as.POSIXct #28

@rposn

Description

@rposn

Dear All,
I found a strange behaviour of "as.POSIXct", since it returned NA values for a specific date/times of my dataset ("2009-03-29 02:00:00"; "2010-03-28 02:00:00"; "2011-03-27 02:00:00"; "2012-03-25 02:00:00"; "2013-03-31 02:00:00"; "2014-03-30 02:00:00"). It seems to be an issue when no time zone is given (see https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=15649).

Therefore I have included a new input called "time.zone" to the method: "date_col_check" at the "climate_date_refclass.R" file. The corresponding commit is: 16e601c

The user can always specify their desired time.zone. If not, UTC will be used as default.
I hope that this solves the issue...

Best regards

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