[Rd] new chron problems in RW0990

Jens Oehlschlägel-Akiyoshi jens.oehlschlaegel-akiyoshi@mdfactory.de
Tue, 15 Feb 2000 16:41:04 +0100


Kurt Hornik wrote

> Note that currently, chron/dates only supports formats like "m/d/y" or
> "mdy" where all three signify (2-digit) abbreviations

However, the older version of chron DID allow creating 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

thus I tend to see it as a bug, because it may break old code.

Still, I don't know whether it is approbriate to send a bug report to
r-bugs@lists.r-project.org ?


Regards

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._