• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

OmegaChartのソースコードの保守


Commit MetaInfo

Revisãof57f3329be4b3caeeb24c3e4194c45ac690b8016 (tree)
Hora2016-09-08 01:11:39
Autorpanacoran <panacoran@user...>
Commiterpanacoran

Mensagem de Log

夏の日に対応する

Mudança Sumário

Diff

--- a/Util.cs
+++ b/Util.cs
@@ -313,6 +313,8 @@ namespace Zanetti
313313 (d.Month == 11 && (d.Day == 3 || d.Day == 23)) ||
314314 (d.Month == 12 && d.Day == 23))
315315 return true;
316+ if (d.Year >= 2016 && d.Month == 8 && d.Day == 11) // 山の日
317+ return true;
316318 // 春分と秋分(1980〜2099年に対応)
317319 if (d.Month == 3 &&
318320 d.Day == (int)(20.8431 + 0.242194 * (d.Year - 1980) - (d.Year - 1980) / 4))