[haiku-commits] r40117 - haiku/trunk/src/kits/support

  • From: korli@xxxxxxxxxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Tue, 4 Jan 2011 20:49:47 +0100 (CET)

Author: korli
Date: 2011-01-04 20:49:46 +0100 (Tue, 04 Jan 2011)
New Revision: 40117
Changeset: http://dev.haiku-os.org/changeset/40117

Modified:
   haiku/trunk/src/kits/support/DateTime.cpp
Log:
Ooops. Fix AscensionDay and PentecostDay.


Modified: haiku/trunk/src/kits/support/DateTime.cpp
===================================================================
--- haiku/trunk/src/kits/support/DateTime.cpp   2011-01-04 19:43:23 UTC (rev 
40116)
+++ haiku/trunk/src/kits/support/DateTime.cpp   2011-01-04 19:49:46 UTC (rev 
40117)
@@ -1123,7 +1123,7 @@
 /*static*/ BDate
 BDate::AscensionDay(int32 year)
 {
-       BDate date = AscensionDay(year);
+       BDate date = EasterSunday(year);
        date.AddDays(39);
        return date;
 }
@@ -1135,7 +1135,7 @@
 /*static*/ BDate
 BDate::PentecostDay(int32 year)
 {
-       BDate date = AscensionDay(year);
+       BDate date = EasterSunday(year);
        date.AddDays(49);
        return date;
 }


Other related posts:

  • » [haiku-commits] r40117 - haiku/trunk/src/kits/support - korli