Index: trunk/phase3/languages/Language.php |
— | — | @@ -1202,7 +1202,7 @@ |
1203 | 1203 | private static function tsToIranian( $ts ) { |
1204 | 1204 | $gy = substr( $ts, 0, 4 ) -1600; |
1205 | 1205 | $gm = substr( $ts, 4, 2 ) -1; |
1206 | | - $gd = (int)substr( $ts, 6, 2 ) -1; |
| 1206 | + $gd = substr( $ts, 6, 2 ) -1; |
1207 | 1207 | |
1208 | 1208 | # Days passed from the beginning (including leap years) |
1209 | 1209 | $gDayNo = 365 * $gy |