[Rd] Regression in strptime

Mick Jordan mick.jordan at oracle.com
Sat Mar 12 00:05:50 CET 2016


This is definitely obscure but we had a unit test that called 
.Internal(strptime, "1942/01/01", %Y/%m/%d") with timezone (TZ) set to 
CET. In R-3.1.3 that returned "1942-01-01 CEST" which, paradoxically, is 
correct as they evidently did strange things in Germany during the war 
period. Java also returns the same. However, R-3.2.4 returns "1942-01-01 
CET".

Mick Jordan



More information about the R-devel mailing list