D29373: Taiwan: Hardcoding holidays based on the Lunar Calendar; Minor update to the holiday list

Weisi Dai noreply at phabricator.kde.org
Sun May 3 04:38:06 BST 2020


weisi created this revision.
weisi added a reviewer: winterz.
Herald added a project: Frameworks.
Herald added a subscriber: kde-frameworks-devel.
weisi requested review of this revision.

REVISION SUMMARY
  The previous revision put in fixed dates (month/day) for many holidays which are actually based on the Lunar calendar, instead of the Georgian calendar. They are not observed on a fixed date each year.
  
  As a workaround, I put in the dates for the holidays over years 2020 to 2024:
  
  - Chinese New Year's Eve 除夕 *
  - Spring Festival 春節 *
  - Lantern Festival 元宵節 *
  - Matsu's Birthday 媽祖聖誕 *#
  - Buddha's Birthday 佛誕日 *#
  - Chinese Valentine's Day 七夕節 *
  - Double Ninth Day 重陽節 *
  - Dragon Boat Festival 端午節
  - Mid-Autumn Festival 中秋節
  
  The //star *// ones are specified using the "lunar new year date" minus/plus some days, hoping to make it easier to adapt to additional years in the future.
  
  There are holidays entries regarding specific arrangements (an extra day is observed in lieu of an extra working day) that can't be calculated in advance - usually they published early that year. I removed these from future years since the arrangement has not been published and I don't want to include holiday entries that are too speculative.
  
  I also removed a few religious holidays from the holidays list, simply because I think they are not on a fixed date of each Georgian year. 2 of these are converted to the format above, as marked with the # sign.
  
  I also specified the start year of Peace Memorial Day 228和平紀念日, and added Freedom of Expression Day 言論自由日.
  
  I think there are still issues with the 4 season dates (March Equinox 春分, Jun Solstice 夏至, September Equinox 秋分, December Solstice 冬至) but maybe there's some better solution for this.

REPOSITORY
  R175 KHolidays

REVISION DETAIL
  https://phabricator.kde.org/D29373

AFFECTED FILES
  holidays/plan2/holiday_tw_zh

To: weisi, winterz
Cc: kde-frameworks-devel, LeGast00n, cblack, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20200503/df60325b/attachment.html>


More information about the Kde-frameworks-devel mailing list