Added file containing taiwanese holidays in holidays/plan2/holiday_tw_zh
There's a few extra spaces at the end of "植樹節 " and "中秋節 補假 " too.
Not sure how well you know git, but make sure to run git add holidays/plan2/holiday_tw_zh again after making your changes, before running git diff --staged to upload the modified diff.
Thank you for your attempt to add Taiwanese holidays to KDE. However, I am afraid that this patch has to be reviewed again.
The dates for some holidays (including, but not limited to, Spring Festival (also known as "Lunar New Year") and the Mid-Autumn Festival) are different every year because some holidays are determined based on the Lunar Calendar (農曆). That means one has to specify the exact dates for each year, just like the holiday_hk_* files.
If you look at the table in the English Wikipedia entry for Public holidays in Taiwan carefully, you will notice that some holidays follow Chinese calendar instead of the Gregorian calendar.
Therefore, we should try to refer to the relevant laws and regulations, and use government-published documents as sources for accuracy. In this case, we should refer to the law "紀念日及節日實施辦法" (only available in Chinese). In addition, the Ministry of the Interior, R. O. C. (Taiwan) publishes a document listing the exact dates of public holidays each year ("public" here means "放假", carrying the meaning of being a day off). The document for 2020 can be found here (Note that the ROC era is used, so Year 109 means 2020).
The public holidays as well as the official commemorative holidays are already complicated, so I think for the time being it would be better to exclude non-official holidays such as Halloween or Christmas.
Thank you for your attention.
Shouldn't this line be zh (or zh_TW) instead? It looks like the format for the "language" metadata entry has been <language> or <language>_<region>.
By the way, the holiday file for People's Republic of China (i.e. mainland China) also needs update too because the dates of Lunar calendar based holidays are only available for 2009.
The comment in the file says "these have to wait for lunar calendar support", but it looks like Qt and KDE have yet to support Lunar calendar, so we have to update the dates manually for the time being.
I will see whether I can update the holiday files for both Taiwan and mainland China to make them more accurate.