Re: [Rd] Fwd: Bug Reporting

2019-08-21 Thread Thierry Onkelinx via R-devel
Dear Tommaso, This is not a bug. You asked for a difference of 1 day = 24 hours = 1440 minutes = 86400 seconds. And that is the difference you get. > start <- as.POSIXct(strptime("20151025",format='%Y%m%d')) > end <- start + as.difftime(1, unit="days") > end - start Time difference of 1 days > as

[Rd] Fwd: Bug Reporting

2019-08-20 Thread TOMMASO ADAMI
Hello, I would like to report this date/time bug that threatened me for a long time, as I need correct date calculation in my computations. If I add 1 day to the light saving switching day, it will incorrectly subtract 1 hour from the date and missalign all my calculations. You can see it r