Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug in as.POSIXct #28

Open
rposn opened this issue Aug 20, 2015 · 0 comments
Open

Bug in as.POSIXct #28

rposn opened this issue Aug 20, 2015 · 0 comments

Comments

@rposn
Copy link
Contributor

rposn commented Aug 20, 2015

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant