From jens.oehlschlaegel-akiyoshi@mdfactory.de  Wed Feb 16 12:03:19 2000
From: jens.oehlschlaegel-akiyoshi@mdfactory.de (jens.oehlschlaegel-akiyoshi@mdfactory.de)
Date: Wed, 16 Feb 2000 13:03:19 +0100 (MET)
Subject: [Rd] chron now fails with 4 digit year (PR#443)
Message-ID: <200002161203.NAA18897@pubhealth.ku.dk>

Full_Name: Jens Oehlschlgel-Akiyoshi
Version: RW0990
OS: Windows NT 4.0 SP5
Submission from: (NULL) (194.175.113.13)


With the version of the chron library included in RW0901
I could create CORRECT chron objects with mm/dd/yyyy

> as.numeric(dates("12/31/1999", format='m/d/y'))
[1] 10956
> as.numeric(dates("01/01/2000", format='m/d/y'))
[1] 10957

wheras backformatting in the print method failed

> dates("12/31/1999", format='m/d/y')
[1] 12/31/99
> dates("01/01/2000", format='m/d/y')
[1] 01/01/100

but now in RW0990

> dates("01/01/2000")
Error in fun(yy, ...) : must be 2-digit (numeric) year specification



-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


[Rd] chron now fails with 4 digit year (PR#443)
jens.oehlschlaegel-akiyoshi@mdfactory.de