From jens.oehlschlaegel-akiyoshi@mdfactory.de  Tue Feb 15 15:41:04 2000
From: jens.oehlschlaegel-akiyoshi@mdfactory.de (=?iso-8859-1?Q?Jens_Oehlschl=E4gel-Akiyoshi?=)
Date: Tue, 15 Feb 2000 16:41:04 +0100
Subject: [Rd] new chron problems in RW0990
In-Reply-To: <200002131548.QAA29087@aragorn.ci.tuwien.ac.at>
Message-ID: <000601bf77cb$1219f260$a9021aac@joelschlaegel>


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


[Rd] new chron problems in RW0990
=?iso-8859-1?Q?Jens_Oehlschl=E4gel-Akiyoshi?=