[Bug 282548] New: Add Singapore
Ray Rashif
schiv at archlinux.org
Thu Sep 22 12:19:52 BST 2011
https://bugs.kde.org/show_bug.cgi?id=282548
Summary: Add Singapore
Product: kdepimlibs
Version: 4.7
Platform: Archlinux Packages
OS/Version: Linux
Status: UNCONFIRMED
Severity: wishlist
Priority: NOR
Component: kholidays
AssignedTo: jlayt at kde.org
ReportedBy: schiv at archlinux.org
CC: kdepim-bugs at kde.org
Created an attachment (id=63854)
--> (http://bugs.kde.org/attachment.cgi?id=63854)
Proposed libkholidays plan2 file for Singapore
Version: 4.7 (using KDE 4.7.1)
OS: Linux
All national holidays (holidays for everyone) in Singapore are considered
"Public Holidays", including religious ones.
Students of Primary and Secondary levels enjoy "School Holidays" that include
term/semester breaks. These holidays are not for the working public, or
students of tertiary level and beyond (who do have term/semester breaks).
Cultural observences are not holidays, but are marked on the calender.
A few (usually just one to two but may be more in some years) of the public
holidays do not have a fixed recurring date and depend on external factors. The
government marks unconfirmed dates officially (that are printed as such) and
issues updates or confirmation through the media at a later time. This may
apply to non-holiday observences as well.
Holidays that fall on a Sunday will roll over to a holiday on the next Monday.
Both the days are marked on the calender, so I am unsure if this translates
perfectly to "shift to monday if sunday".
I have attached a plan(2) file but it should not be committed verbatim. The
syntax is not well-documented and there are different styles among the
distributed files, for eg. "minus 2" vs. "minus 2 days", "shift to monday if
sunday" vs. "$someconditional". I am also unsure what "weekend on $someday"
means over simply "$someday". I wanted to add in the term/semester breaks for
schools, but was not confident that the "plus $days" syntax would be correct.
The primary sources for the year of 2011:
http://www.mom.gov.sg/employment-practices/employment-rights-conditions/leave-and-holiday/Pages/PublicHolidays2011.aspx
http://www.moe.gov.sg/schools/terms-and-holidays/
There are iCalender, XML and HTML files offered, so it would be good if in the
future libkholidays could parse one or more of such formats.
Reproducible: Didn't try
Steps to Reproduce:
N.A
Actual Results:
N.A
Expected Results:
N.A
N.A
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the Kdepim-bugs
mailing list