Skip to content

time zones, daylight saving etc.

3 messages · Vadim Ogranovich, Brian Ripley

#
Works for me on Linux:
[1] "2005-05-12 10:22:31 PDT"
[1] "2005-05-12 17:22:37 GMT"

I extensively use the reset of TZ to parse times.
#
Yes, I did mention the OS was unstated, knowing that some had problems. 
I will try to investigate why this is not working on Windows for a future 
release.

For Windows users something like

.../RGui.exe TZ=GMT

should do it.
On Thu, 12 May 2005, Vadim Ogranovich wrote:

            

  
    
#
On Thu, 12 May 2005, Prof Brian Ripley wrote:

            
For the record, this is a POSIX-compliance failure.  The POSIX standard 
says

   Local timezone information is used as though localtime() calls tzset()

but Windows requires tzset() to be called explicitly.

I've added a workaround in R-patched.