Bug 202911 - Holiday file for P.R. China
Summary: Holiday file for P.R. China
Status: RESOLVED FIXED
Alias: None
Product: kdepimlibs
Classification: Applications
Component: kholidays (show other bugs)
Version: 4.3
Platform: Gentoo Packages Unspecified
: NOR wishlist
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-07 09:16 UTC by Patrick
Modified: 2009-08-08 14:53 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Holiday file for P.R. China (1.69 KB, text/plain)
2009-08-07 09:16 UTC, Patrick
Details
Holiday file for P.R. China (1.95 KB, text/plain)
2009-08-08 04:33 UTC, Patrick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick 2009-08-07 09:16:08 UTC
Version:            (using KDE 4.3.0)
Installed from:    Gentoo Packages

I created a holiday file for the People's Republic of China.

Since some holidays are determined by the lunar calendar, and the Holiday file format (http://pim.kde.org/components/korganizer/holidays.php) does not seem to allow specifying the date of a holiday in lunar calendar format, I only entered 2009's lunar calendar holidays.

Moreover, there are special arrangements (published by the government at the end of every year for the following year, AFAIK), which regulate free weekdays between holidays and weekends, or working weekend days to replace the aforementioned free weekdays (sounds complicated? It is!). Since those arrangements are still unknown for the following year(s), I only added them for 2009.

So, as it is now, the file will have to be updated at the end of every year, with the following year's lunar holidays and special work/free arrangements once they are published.
Comment 1 Patrick 2009-08-07 09:16:59 UTC
Created attachment 35951 [details]
Holiday file for P.R. China
Comment 2 Christophe Marin 2009-08-07 20:24:59 UTC
Thanks for the patch.

I need more informations before submitting it:

- The lantern day seems to be missing (yuánxiāojié / xiaoguonian)

- "元旦 (New Year)" weekend on 1 january looks incorrect as this one is celebrated on the 1st of january only.

- According to my sources, the spring festival is a 7 days off event.

- Why do you mention the working days without mentioning why it is a special date ?

For the moment, I can validate :

"元旦 (Yuandan / New Year)" weekend on 1 january
magenta "国际妇女节 (Sanbafunvjie / International Women's Day)" on 8 march

"劳动节 (Laodongjie / Labor Day)" weekend on 1 may
blue "青年节 (Qingnianjie / Youth Day)" on 4 may
cyan "六一儿童节 (Ertongjie / Children's Day)" on 1 june
black "建党节 (CPC Founding Day)" on 1 july
green "建军节 (Jianjunjie / Army Day)" on 1 august
"国庆节 (Guoqingjie / National Day)" weekend on 1 october length 3 days

"春节 (Chunjie / Chinese New Year - Spring Festival)" weekend on 25 january 2009 length 3 days

"清明节 (Qing Ming Festival / Tomb Sweeping Day)" weekend on 4 april 2009

"端午节 (Duanwujie / Dragon Boat Festival)" weekend on 28 may 2009

"中秋节 (Zhongqiujie / Mid-Autumn Festival)" weekend on 3 october 2009

but I need more informations about the other days.

I also don't see :
- The love day (Qixijie)
- the hungry ghost day (?) (Zhongyuanjie) 
- The elders day / double nine day (Chongyanjie)

Can you add them ? thanks.
Comment 3 Patrick 2009-08-08 04:33:52 UTC
Created attachment 35982 [details]
Holiday file for P.R. China

(In reply to comment #2)
> - The lantern day seems to be missing (yuánxiāojié / xiaoguonian)

Oh, I forgot it, like some other lunar calendar holidays which are not free days (and thus not indicated in http://cnreviews.com/life/living-in-china/china_public_holiday_2009_20081210.html)... I added the Lantern Festival with colour black (which I used for all the days that are not free days).

> - "元旦 (New Year)" weekend on 1 january looks incorrect as this one is
> celebrated on the 1st of january only.

I think it's correct. "weekend" is the attribute which makes the day look like a weekend day, without working hours being shown... according to the specs.

> - According to my sources, the spring festival is a 7 days off event.

It usually is - but only three days are really "fixed" public holidays, which I indicate by
"春节 (Chinese New Year / Spring Festival)" weekend on 25 january 2009 length 3 days
then, there were three days off (but not real public holidays, so some companies still let their employees work, AFAIK) in 2009, indicated by
yellow "节假日 (day off)" weekend on 28 january 2009 length 3 days
and the next day is a Saturday. Seven days off in a row.

> - Why do you mention the working days without mentioning why it is a special
> date ?

I don't quite understand. Do you mean I should add a note like "working day because ... was a day off"? The problem is, I don't reliably know which days are swapped for what days, I just know which are a day off and which are working days (from http://cnreviews.com/life/living-in-china/china_public_holiday_2009_20081210.html - for this year). And since they are nearby the holidays which cause that "disruption", I guess people will understand what they are about... if they have lived in China for some time, anyway ;)

> I also don't see :
> - The love day (Qixijie)

Ok, added for 2009 - black "七夕节 Lover's Day" on 26 august 2009

> - the hungry ghost day (?) (Zhongyuanjie) 

This doesn't seem to be a widely known holiday - I asked three Chinese persons whether they know what "中元节" is, and two of them never heard of it, one said "yeah, something to do with ghosts". Maybe it's only relevant to Buddhists? Anyway, added for 2009 - black "中元节 Ghost Festival" on 3 september 2009

I think there are a lot more holidays that fall into that category ;)

> - The elders day / double nine day (Chongyanjie)
Ok, added: black "重阳节 (Double Ninth Day / Elders' Day)" on 26 october 2009


On a side note: The colours don't seem to get shown, at least not in my KDE 4.3.0 korganizer or calendar plasmoid - they are all marked in red.
Comment 4 Christophe Marin 2009-08-08 12:25:41 UTC
> (In reply to comment #2)
> > - According to my sources, the spring festival is a 7 days off event.
> 
> It usually is - but only three days are really "fixed" public holidays, which I
> indicate by
> "春节 (Chinese New Year / Spring Festival)" weekend on 25 january 2009 length 3
> days
> then, there were three days off (but not real public holidays, so some
> companies still let their employees work, AFAIK) in 2009, indicated by
> yellow "节假日 (day off)" weekend on 28 january 2009 length 3 days
> and the next day is a Saturday. Seven days off in a row.
> 

> > - Why do you mention the working days without mentioning why it is a special
> > date ?
> 
> I don't quite understand. Do you mean I should add a note like "working day
> because ... was a day off"? The problem is, I don't reliably know which days
> are swapped for what days, I just know which are a day off and which are
> working days (from
> http://cnreviews.com/life/living-in-china/china_public_holiday_2009_20081210.html
> - for this year). And since they are nearby the holidays which cause that
> "disruption", I guess people will understand what they are about... if they
> have lived in China for some time, anyway ;)
> 
Thanks for the explanation. I'll take them too :)


> > - the hungry ghost day (?) (Zhongyuanjie) 
> 
> This doesn't seem to be a widely known holiday - I asked three Chinese persons
> whether they know what "中元节" is, and two of them never heard of it, one said
> "yeah, something to do with ghosts". Maybe it's only relevant to Buddhists?
> Anyway, added for 2009 - black "中元节 Ghost Festival" on 3 september 2009
> 
> I think there are a lot more holidays that fall into that category ;)
> 
hm... I can find a wikipedia page about it in french (http://fr.wikipedia.org/wiki/Zhongyuanjie) but not on the german or english wikipedia version and only celebrated by buddhists and the 'popular religion' observers.

I'll keep it commented for the moment.
Comment 5 Christophe Marin 2009-08-08 12:35:51 UTC
SVN commit 1008762 by cgiboudeaux:

Add the Chinese holidays.

The file was provided by Patrick Nagel (mail at patrick-nagel dot net). Thank you.

BUG: 202911
BACKPORT: 4.3




 M  +1 -0      CMakeLists.txt  
 A             holiday_cn  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1008762
Comment 6 Allen Winter 2009-08-08 14:53:26 UTC
SVN commit 1008812 by winterz:

Backport r1008762 by cgiboudeaux from trunk to the 4.3 branch:

Add the Chinese holidays.

The file was provided by Patrick Nagel (mail at patrick-nagel dot net). Thank you.

CCBUG: 202911
BACKPORT: 4.3





 M  +1 -0      CMakeLists.txt  
 A             holiday_cn   trunk/KDE/kdepimlibs/kholidays/holidays/holiday_cn#1008762


WebSVN link: http://websvn.kde.org/?view=rev&revision=1008812