Skip to content
Prev 8920 / 63424 Next

POSIX problem in New Zealand (PR#2570)

Full_Name: Arni Magnusson
Version: 1.6.2
OS: Windows XP
Submission from: (NULL) (210.48.49.68)


Hi there. I'm experiencing unexpected behaviour from as.POSIXct:
[1] "1969-12-23 23:00:00 New Zealand Standard Time"
[1] "1969-12-24"
[1] "1969-12-23 23:00:01 New Zealand Standard Time"


My friend on the US West Coast tells me he has not encountered this problem.
I've read some of the glibc discussion, but I believe that's not relevant for
Windows XP. I also read that tz="GMT" could circumvent some problems, but not
mine:
[1] "1969-12-25 New Zealand Standard Time"

If I can get around this problem, I'd prefer using POSIX rather than the date or
chron classes. Perhaps a Windows environment variable is the key?

Thanks in advance,
Arni