dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e6d6d7e
)
Document what the month number means for Language::tsToHebrew().
author
Aryeh Gregor
<simetrical@users.mediawiki.org>
Mon, 4 Aug 2008 00:53:13 +0000
(
00:53
+0000)
committer
Aryeh Gregor
<simetrical@users.mediawiki.org>
Mon, 4 Aug 2008 00:53:13 +0000
(
00:53
+0000)
languages/Language.php
patch
|
blob
|
history
diff --git
a/languages/Language.php
b/languages/Language.php
index
624e43d
..
1b56f24
100644
(file)
--- 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