From rol@nd@fu@@ @ending from thuenen@de  Wed May 16 17:21:07 2018
From: rol@nd@fu@@ @ending from thuenen@de (=?UTF-8?Q?Roland_Fu=c3=9f?=)
Date: Wed, 16 May 2018 17:21:07 +0200
Subject: [Rd] Date method of as.POSIXct does not respect tz
Message-ID: <65932fa5-535d-19e4-2a70-7a6ffd10dfa4@thuenen.de>

R 3.5.0

Is it intended that the Date method of as.POSIXct does not respect the 
tz parameter? I suggest changing as.POSIXct.Date to this:

function (x, tz = "", ...)
   .POSIXct(unclass(x) * 86400, tz = tz)

Currently, the best workaround seems to be using the character method if 
one doesn't want the default timezone (which is often an annoying DST 
timezone).

This came up on Stack Overflow: https://stackoverflow.com/q/50373340/1412059

--
Roland



[Rd] Date method of as.POSIXct does not respect tz
=?UTF-8?Q?Roland_Fu=c3=9f?=