From t@@d@m| @end|ng |rom @tudent|@un|bg@|t  Wed Aug 21 01:48:20 2019
From: t@@d@m| @end|ng |rom @tudent|@un|bg@|t (TOMMASO ADAMI)
Date: Wed, 21 Aug 2019 01:48:20 +0200
Subject: [Rd] Fwd: Bug Reporting
In-Reply-To: <CAP=5aR+K9naCHtdmYOhR1AsAL9iL2bcCzHWDo-NPgH5mrh6MpQ@mail.gmail.com>
References: <CAP=5aR+fHcMvqrErOw6miysJ6SMXYwP=DHzsX=yN94kFU0Q7oA@mail.gmail.com>
 <CAP=5aR+K9naCHtdmYOhR1AsAL9iL2bcCzHWDo-NPgH5mrh6MpQ@mail.gmail.com>
Message-ID: <CAP=5aRKvy_KFy4x9fYxE8txuvnogfcB82owjLWvJ_OSfCXdLgQ@mail.gmail.com>

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 runing (I am testing it with Rome, Italy (+1) TimeZone)

print(paste0("Horrible R Bug is present?
",strptime("20151025",format='%Y%m%d')+as.difftime(1, unit="days")));

As you can see the output says 11pm and not 12pm !

I do not know if it is a requested feature, but for me is unpleasant and
unexpected behaviour.

Thank you very much!

	[[alternative HTML version deleted]]



[Rd] Fwd: Bug Reporting
TOMMASO ADAMI