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:
c5cb207
)
remove useless type hint (fu r85004)
author
Antoine Musso
<hashar@users.mediawiki.org>
Tue, 7 Jun 2011 19:58:10 +0000
(19:58 +0000)
committer
Antoine Musso
<hashar@users.mediawiki.org>
Tue, 7 Jun 2011 19:58:10 +0000
(19:58 +0000)
languages/Language.php
patch
|
blob
|
history
diff --git
a/languages/Language.php
b/languages/Language.php
index
15c12b2
..
591bb39
100644
(file)
--- a/
languages/Language.php
+++ b/
languages/Language.php
@@
-1202,7
+1202,7
@@
class Language {
private static function tsToIranian( $ts ) {
$gy = substr( $ts, 0, 4 ) -1600;
$gm = substr( $ts, 4, 2 ) -1;
- $gd =
(int)
substr( $ts, 6, 2 ) -1;
+ $gd = substr( $ts, 6, 2 ) -1;
# Days passed from the beginning (including leap years)
$gDayNo = 365 * $gy