Hi, I'm attaching a patch that adds a calendar with Canadian holidays to calendar(1). This complements the current calendar.usholidays file.
Best wishes, Ryan -- |_)|_/ Ryan Kavanagh | Debian Developer | \| \ http://ryanak.ca/ | GPG Key 4A11C97A
Index: usr.bin/calendar/calendar.1 =================================================================== RCS file: /cvs/src/usr.bin/calendar/calendar.1,v retrieving revision 1.35 diff -u -r1.35 calendar.1 --- usr.bin/calendar/calendar.1 13 Sep 2011 13:23:33 -0000 1.35 +++ usr.bin/calendar/calendar.1 8 Mar 2013 19:05:27 -0000 @@ -202,6 +202,8 @@ International and national calendar files. .It Pa calendar.birthday Births and deaths of famous (and not-so-famous) people. +.It Pa calendar.canada +Canadian holidays. .It Pa calendar.christian Christian holidays (should be updated yearly by the local system administrator so that roving holidays are set correctly for the current year). Index: usr.bin/calendar/calendars/calendar.all =================================================================== RCS file: /cvs/src/usr.bin/calendar/calendars/calendar.all,v retrieving revision 1.4 diff -u -r1.4 calendar.all --- usr.bin/calendar/calendars/calendar.all 3 Jul 2006 15:46:22 -0000 1.4 +++ usr.bin/calendar/calendars/calendar.all 8 Mar 2013 19:05:27 -0000 @@ -16,5 +16,6 @@ #include <calendar.discord> #include <calendar.ushistory> #include <calendar.space> +#include <calendar.canada> #endif /* !_calendar_all_ */ Index: usr.bin/calendar/calendars/calendar.canada =================================================================== RCS file: usr.bin/calendar/calendars/calendar.canada diff -N usr.bin/calendar/calendars/calendar.canada --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ usr.bin/calendar/calendars/calendar.canada 8 Mar 2013 19:05:27 -0000 @@ -0,0 +1,40 @@ +/* + * Calendar of Canadian Holidays + * + * $Id$ + */ + +#ifndef _calendar_canada_ +#define _calendar_canada_ + +01/01 New Year's Day (Statutory holiday) +02/02 Groundhog Day +02/14 St. Valentine's Day +02/15 National Flag of Canada Day +03/17 Saint Patrick's Day +03/20* Vernal Equinox +03/SunSecond Daylight Saving Time begins; clocks move forward (2nd Sunday of March) +04/01 April Fool's Day +Easter-2 Good Friday (Statutory holiday) +Easter+1 Easter Monday +05/SunSecond Mother's Day (2nd Sunday of May) +/* Holds up to and including 2015 */ +05/MonThird* Victoria Day (Monday on or immediately before May 24) +06/SunThird Father's Day (3rd Sunday of June) +06/21* Summer Solstice +06/24 St-Jean Baptiste +07/01 Canada Day (Statutory holiday) +08/MonFirst August Civic Holiday +09/MonFirst Labour Day (Statutory holiday) +09/22* Autumnal Equinox +10/MonSecond Thanksgiving +10/31 All Hallows Eve (Halloween) +11/SunFirst Daylight Saving Time ends; clocks move back (1st Sunday in November) +11/11 Remembrance Day +12/21* Winter Solstice +12/24 Christmas Eve +12/25 Christmas Day (Statutory holiday) +12/26 Boxing Day +12/31 New Year's Eve + +#endif /* !_calendar_canada_ */
