From b92b86af557c40f9af69a8c4d1f2fbf1c5c39f92 Mon Sep 17 00:00:00 2001 From: Christoph Michael Becker Date: Mon, 4 Sep 2017 12:02:58 +0000 Subject: [PATCH] Fix bug #67870 (jdtounix() claims localtime, but that's not true) git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342998 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/calendar/functions/jdtounix.xml | 2 +- reference/calendar/functions/unixtojd.xml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/reference/calendar/functions/jdtounix.xml b/reference/calendar/functions/jdtounix.xml index e80d059bc4..de7f2a1dfd 100644 --- a/reference/calendar/functions/jdtounix.xml +++ b/reference/calendar/functions/jdtounix.xml @@ -18,7 +18,7 @@ jday is not inside the Unix epoch (Gregorian years between 1970 and 2037 or 2440588 <= jday <= 2465342 ). The time returned is - localtime (and not GMT). + UTC. diff --git a/reference/calendar/functions/unixtojd.xml b/reference/calendar/functions/unixtojd.xml index 17568d6f6b..421327d3dd 100644 --- a/reference/calendar/functions/unixtojd.xml +++ b/reference/calendar/functions/unixtojd.xml @@ -15,7 +15,8 @@ Return the Julian Day for a Unix timestamp (seconds since 1.1.1970), or for the current day if no - timestamp is given. + timestamp is given. Either way, the time is regarded + as local time (not UTC).