Index: trunk/phase3/languages/Language.php |
— | — | @@ -1161,14 +1161,14 @@ |
1162 | 1162 | if (($gy < 1989) || (($gy == 1989) && ($gm == 1) && ($gd < 8))) { |
1163 | 1163 | # Shōwa period |
1164 | 1164 | $gy_gannen = $gy - 1926 + 1; |
1165 | | - $gy_offset = $gy_gannen + $gy_offset; |
| 1165 | + $gy_offset = $gy_gannen; |
1166 | 1166 | if ($gy_gannen == 1) |
1167 | 1167 | $gy_offset = '元'; |
1168 | 1168 | $gy_offset = '昭和'.$gy_offset; |
1169 | 1169 | } else { |
1170 | 1170 | # Heisei period |
1171 | 1171 | $gy_gannen = $gy - 1989 + 1; |
1172 | | - $gy_offset = $gy_gannen + $gy_offset; |
| 1172 | + $gy_offset = $gy_gannen; |
1173 | 1173 | if ($gy_gannen == 1) |
1174 | 1174 | $gy_offset = '元'; |
1175 | 1175 | $gy_offset = '平成'.$gy_offset; |