summaryrefslogtreecommitdiff
path: root/php.ini-development
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2019-07-15 10:41:00 +0200
committerChristoph M. Becker <cmbecker69@gmx.de>2019-07-15 13:52:09 +0200
commit7556600dfc80e9a11db538ce58cb249d6cdda7b3 (patch)
tree938f32f52e25de9c73ee71a016cbddbc03b57aa7 /php.ini-development
parent25985fedcfee24a52493539a1a5a2dcf2828bac1 (diff)
downloadphp-git-7556600dfc80e9a11db538ce58cb249d6cdda7b3.tar.gz
Fix #65547: Default value for sunrise/sunset zenith still wrong
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.
Diffstat (limited to 'php.ini-development')
-rw-r--r--php.ini-development4
1 files changed, 2 insertions, 2 deletions
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