https://bugs.kde.org/show_bug.cgi?id=272750
--- Comment #7 from <dv5a dc uba ar> 2012-01-05 21:43:31 --- Thanks!! It is a little tricky. "Dia de San Martin" is always 3rd Monday of august (every year), but in 2011 it was approved a law that only that year it will be on 4th Monday of august. I am doing some date arithmetic there. (year == 2011) results in 1 for 2011 and 0 otherwise. So, For year==2011 => (third + (year == 2011)) monday in august (third + (2011 == 2011)) monday in august (third + (1)) monday in august (third + 1) monday in august fourth monday in august And for any other year => (third + (year == 2011)) monday in august (third + (0)) monday in august (third + 0) monday in august third monday in august Is there another way to express this condition? Should I comment the logic used in the holidays file? Thanks again -- Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ Kdepim-bugs mailing list [email protected] https://mail.kde.org/mailman/listinfo/kdepim-bugs
