Document what the month number means for Language::tsToHebrew().
authorAryeh Gregor <simetrical@users.mediawiki.org>
Mon, 4 Aug 2008 00:53:13 +0000 (00:53 +0000)
committerAryeh Gregor <simetrical@users.mediawiki.org>
Mon, 4 Aug 2008 00:53:13 +0000 (00:53 +0000)
languages/Language.php

index 624e43d..1b56f24 100644 (file)
@@ -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