From: Aryeh Gregor Date: Mon, 4 Aug 2008 00:53:13 +0000 (+0000) Subject: Document what the month number means for Language::tsToHebrew(). X-Git-Tag: 1.31.0-rc.0~46161 X-Git-Url: http://git.cyclocoop.org/%24href?a=commitdiff_plain;h=9b11ddad1211ab2a9591a0a8ff975efeb5a00ec2;p=lhc%2Fweb%2Fwiklou.git Document what the month number means for Language::tsToHebrew(). --- diff --git a/languages/Language.php b/languages/Language.php index 624e43d3da..1b56f24b48 100644 --- a/languages/Language.php +++ b/languages/Language.php @@ -911,6 +911,9 @@ class Language { * (abu-mami@kaluach.net, http://www.kaluach.net), who permitted * to translate the relevant functions into PHP and release them under * GNU GPL. + * + * The months are counted from Nissan = 1. In a leap year, Adar I is 13 + * and Adar II is 14. In a non-leap year, Adar is 6. */ private static function tsToHebrew( $ts ) { # Parse date