From 9b11ddad1211ab2a9591a0a8ff975efeb5a00ec2 Mon Sep 17 00:00:00 2001 From: Aryeh Gregor Date: Mon, 4 Aug 2008 00:53:13 +0000 Subject: [PATCH] Document what the month number means for Language::tsToHebrew(). --- languages/Language.php | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.20.1