From 7556600dfc80e9a11db538ce58cb249d6cdda7b3 Mon Sep 17 00:00:00 2001 From: "Christoph M. Becker" Date: Mon, 15 Jul 2019 10:41:00 +0200 Subject: Fix #65547: Default value for sunrise/sunset zenith still wrong MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The value of the zenith angle to calculate sunrise and sunset times is commonly defined as 90°50', and is "obtained by adding the average apparent radius of the Sun (16') to the average amount of atmospheric refraction at the horizon (34')", according to http://aa.usno.navy.mil/faq/docs/RST_defs.php. This value is also used for the Sunrise/Sunset Algorithm published in the Almanac for Computers, 1990, see https://web.archive.org/web/20161202180207/http://williams.best.vwh.net/sunrise_sunset_algorithm.htm. --- php.ini-development | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'php.ini-development') diff --git a/php.ini-development b/php.ini-development index 6965fe3b95..9f3b153a89 100644 --- a/php.ini-development +++ b/php.ini-development @@ -947,10 +947,10 @@ cli_server.color = On ;date.default_longitude = 35.2333 ; http://php.net/date.sunrise-zenith -;date.sunrise_zenith = 90.583333 +;date.sunrise_zenith = 90.833333 ; http://php.net/date.sunset-zenith -;date.sunset_zenith = 90.583333 +;date.sunset_zenith = 90.833333 [filter] ; http://php.net/filter.default -- cgit v1.2.1