|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2010-03-07 16:30 UTC] derick@php.net
-Status: Assigned
+Status: Bogus
[2010-03-07 16:30 UTC] derick@php.net
[2011-10-02 20:02 UTC] dronkert at gmail dot com
[2011-12-01 14:00 UTC] marcus dot fritze at googlemail dot com
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 04:00:01 2025 UTC |
Description: ------------ This is an easy problem to fix. I'm surprised nobody has reported it so far. The default configuration value for "date.sunrise_zenith" and "date.sunset_zenith" is "90.583333". But this value is incorrect! The correct value for a sunrise/sunset zenith angle is 90 + (50/60) WHICH EQUALS 90.83333333333 NOT 90.58333333333 Reproduce code: --------------- echo ini_get("date.sunrise_zenith") . "\n"; echo ini_get("date.sunset_zenith") . "\n"; Expected result: ---------------- 90.83333333333 90.83333333333 Actual result: -------------- 90.58333333333 90.58333333333