bug-gcal
[Top][All Lists]
Advanced

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

Re: [Bug-gcal] Re: gcal: new hungarian holiday


From: Giuseppe Scrivano
Subject: Re: [Bug-gcal] Re: gcal: new hungarian holiday
Date: Mon, 15 Nov 2010 12:36:39 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

Thanks for your reminder, I am going to commit this patch.

Cheers,
Giuseppe



>From 14fb3e5126247744f21b8021d6fa1b855c3709f0 Mon Sep 17 00:00:00 2001
From: Giuseppe Scrivano <address@hidden>
Date: Mon, 15 Nov 2010 12:29:46 +0100
Subject: [PATCH] Include All Saints' day in HU

Reported by: Felician Nemeth <address@hidden>
---
 NEWS           |    4 ++++
 src/hd-data3.c |    5 +++++
 2 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/NEWS b/NEWS
index f7cb931..8413bf7 100644
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,10 @@ NEWS file for `gcal'.
 
 User-visible changes.
 
+Major changes in release X.Y.Z
+
+* Include All Saints' day in HU
+
 Major changes in release 3.6
 
 *  Work properly when the -1 timezone is specified
diff --git a/src/hd-data3.c b/src/hd-data3.c
index 213c9f4..bb4fddf 100644
--- a/src/hd-data3.c
+++ b/src/hd-data3.c
@@ -2572,6 +2572,11 @@ hu_hdy (init_data, detected, easter, year, hd_elems, 
fday, count)
        holiday (*init_data, detected, _(hd_text[HD_LIBERATION_DAY].ht_text),
                 ptr_cc_id, "+", 4, 4, year, hd_elems, fday, count);
     }
+
+  if (year > 1999)
+       holiday (*init_data, detected, _(hd_text[HD_ALL_SAINTS_DAY].ht_text),
+                ptr_cc_id, "+", 1, 11, year, hd_elems, fday, count);
+
   base_christian_hdy (init_data, detected, easter, year, hd_elems, fday,
                      count);
 }
-- 
1.7.2.3


Felician Nemeth <address@hidden> writes:

> I resend this old message as it still seems relevant.
>
> Thanks,
> Felician
>
> On September 10 2002, Felician Nemeth wrote:
>
>> Hi,
>>
>> From the year 2000 there is a national holiday at the first of
>> november in Hungary.  This is missing from gcal 3.01.  I generate this
>> missing holiday with the folliwing line:
>>
>> 00001101 All Saints' Day (HU) %i2000
>>
>> Please, update your great program,
>> Felician
>>
>>
>>    * The English name of the holiday.
>>
>> All Saints' Day
>>
>>    * The rule how it is built 
>>
>> the 1st November each year
>>
>>      And please tell me the date since what time the holiday is or was
>>      celebrated for the first time, respectively.
>>
>> from 2000.
>>
>>    * Whether it is a "legal holiday" which is respected in the whole
>>      country.  (Use a `+' character for marking this case.)  In this
>>      sense, a legal holiday means a day people don't have to work -- as
>>      in most companies, and businesses are closed; like `New Year's Day'
>>      on January 1st.
>>
>> This is a "legal holiday".
>>
>>    * Whether it is a legal holiday in some parts of your country only.
>>      Please tell me whether such a holiday is valid in major parts of
>>      the country or not, try to express that by using percent points.
>>      (If such a holiday is celebrated in more than 70% of the country,
>>      use a `#' character for marking this case, otherwise use a `*'
>>      character.)
>>
>> # (100%)
>>
>>    * Whether it is a day only used for memorial or remembering purposes.
>>
>> no



reply via email to

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