diff options
-rw-r--r-- | usr.bin/calendar/calendar.1 | 6 | ||||
-rw-r--r-- | usr.bin/calendar/calendars/calendar.all | 3 | ||||
-rw-r--r-- | usr.bin/calendar/calendars/calendar.canada | 40 |
3 files changed, 46 insertions, 3 deletions
diff --git a/usr.bin/calendar/calendar.1 b/usr.bin/calendar/calendar.1 index 4677a0b411c..6c26103cd86 100644 --- a/usr.bin/calendar/calendar.1 +++ b/usr.bin/calendar/calendar.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: calendar.1,v 1.35 2011/09/13 13:23:33 jmc Exp $ +.\" $OpenBSD: calendar.1,v 1.36 2013/03/15 08:37:10 jmc Exp $ .\" .\" Copyright (c) 1989, 1990, 1993 .\" The Regents of the University of California. All rights reserved. @@ -29,7 +29,7 @@ .\" .\" @(#)calendar.1 8.1 (Berkeley) 6/29/93 .\" -.Dd $Mdocdate: September 13 2011 $ +.Dd $Mdocdate: March 15 2013 $ .Dt CALENDAR 1 .Os .Sh NAME @@ -202,6 +202,8 @@ will not send mail if this file exists. 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). diff --git a/usr.bin/calendar/calendars/calendar.all b/usr.bin/calendar/calendars/calendar.all index 3629132e314..172357dfe7a 100644 --- a/usr.bin/calendar/calendars/calendar.all +++ b/usr.bin/calendar/calendars/calendar.all @@ -1,7 +1,7 @@ /* * International and national calendar files * - * $OpenBSD: calendar.all,v 1.4 2006/07/03 15:46:22 jasper Exp $ + * $OpenBSD: calendar.all,v 1.5 2013/03/15 08:37:10 jmc Exp $ */ #ifndef _calendar_all_ @@ -16,5 +16,6 @@ #include <calendar.discord> #include <calendar.ushistory> #include <calendar.space> +#include <calendar.canada> #endif /* !_calendar_all_ */ diff --git a/usr.bin/calendar/calendars/calendar.canada b/usr.bin/calendar/calendars/calendar.canada new file mode 100644 index 00000000000..4572672fce4 --- /dev/null +++ b/usr.bin/calendar/calendars/calendar.canada @@ -0,0 +1,40 @@ +/* + * Canada holiday + * + * $OpenBSD: calendar.canada,v 1.1 2013/03/15 08:37:10 jmc Exp $ + */ + +#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_ */ |