Displaying 1 result from an estimated 1 matches for "00mitteleurop".
2011 Mar 10
1
Timezone issue with strftime/strptime and %z and %Z
...quot;)
> t2 <- strptime("1995-05-25T15:30:00+10:00", format = "%Y-%m-%dT%H:%M:%OS%z")
>
> strftime(t1, format = "%Y-%m-%dT%H:%M:%OS")
[1] "1995-05-25T15:30:00"
> strftime(t1, format = "%Y-%m-%dT%H:%M:%OS%z")
[1] "1995-05-25T15:30:00Mitteleurop?ische Sommerzeit"
> # Ends in "Mitteleurop?ische Sommerzeit", not in +10:00, so time zone is ignored!
> # Also no difference beetween %z and %z !
> strftime(t1, format = "%Y-%m-%dT%H:%M:%OS%Z")
[1] "1995-05-25T15:30:00Mitteleurop?ische Sommerzeit"
> #...