bug-gcal
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-gcal] New Czech holiday "Good Friday"


From: Eduard Nesiba
Subject: [Bug-gcal] New Czech holiday "Good Friday"
Date: Thu, 13 Jun 2019 17:01:32 +0200

Hello, 

in Czechia we have from 2016 new holiday - Good  Friday.

Please apply attached patch to the source code of gcal 4.1.

-----------------
--- gcal-4.1/src/hd-data2.c 2016-06-14 00:40:13.000000000 +0200
+++ gcal-4.1n/src/hd-data2.c    2019-06-13 16:44:16.204289072 +0200
@@ -4006,6 +4006,9 @@
    */
   holiday (*init_data, detected, _(hd_text[HD_NEW_YEARS_DAY].ht_text),
       ptr_cc_id, "+", 1, 1, year, hd_elems, fday, count);
+  if (year >= 2016)
+    holiday (*init_data, detected, _(hd_text[HD_GOOD_FRIDAY].ht_text),
+        ptr_cc_id, "+", easter - 2, 0, year, hd_elems, fday, count);
   holiday (*init_data, detected, _(hd_text[HD_EASTER_MONDAY].ht_text),
       ptr_cc_id, "+", easter + 1, 0, year, hd_elems, fday, count);
   holiday (*init_data, detected, _(hd_text[HD_EASTER_SUNDAY].ht_text), 
----------------------

Eduard Nesiba

Attachment: patch.txt
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]