From g@ru@@ell @ending from eo@-@olution@@com  Tue Oct  9 16:56:17 2018
From: g@ru@@ell @ending from eo@-@olution@@com (Russell, George)
Date: Tue, 9 Oct 2018 14:56:17 +0000
Subject: [Rd] Buglet in handling times in R-3.5.1
Message-ID: <HE1PR1001MB10356685E98F585AEB6F6ED5A0E70@HE1PR1001MB1035.EURPRD10.PROD.OUTLOOK.COM>

Dear R developers,

I have found a minute bug in R-3.5.1 (Windows version), about how times not an exact number of seconds are displayed.
> as.POSIXct("1969-01-01 01:00")+0.3
[1] "1969-01-01 01:00:01 CET"
> as.POSIXct("1970-01-01 01:00")+0.3
[1] "1970-01-01 01:00:00 CET"

So for 1969, adding 0.3 of a second means you round UP, for 1970 you round DOWN. But I think it should be consistent.

At the end of this message I have put the usual version information.

Thanks for all your help and for your work on this wonderful product.


> R.version
               _
platform       x86_64-w64-mingw32
arch           x86_64
os             mingw32
system         x86_64, mingw32
status
major          3
minor          5.1
year           2018
month          07
day            02
svn rev        74947
language       R
version.string R version 3.5.1 (2018-07-02)
nickname       Feather Spray



[Rd] Buglet in handling times in R-3.5.1
Russell, George