aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/calendar/calendar.1
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1996-05-10 16:30:22 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1996-05-10 16:30:22 +0000
commitab5dc10734a579f6937e7d0921201c69db11c068 (patch)
tree2ee499be5fe987b5fb50fd8e4f1d0fba39c3a560 /usr.bin/calendar/calendar.1
parent990f21682c5a54ebaa6e593fe3def8cf852377e9 (diff)
downloadsrc-ab5dc10734a579f6937e7d0921201c69db11c068.tar.gz
src-ab5dc10734a579f6937e7d0921201c69db11c068.zip
Localize it
Handle Orthodox Eastern -Wall cleanup
Notes
Notes: svn path=/head/; revision=15714
Diffstat (limited to 'usr.bin/calendar/calendar.1')
-rw-r--r--usr.bin/calendar/calendar.111
1 files changed, 10 insertions, 1 deletions
diff --git a/usr.bin/calendar/calendar.1 b/usr.bin/calendar/calendar.1
index 8efe79b44492..f3017bd7dedd 100644
--- a/usr.bin/calendar/calendar.1
+++ b/usr.bin/calendar/calendar.1
@@ -73,6 +73,10 @@ as default calendar file.
.El
.Pp
+To handle calendars in your national code table you can specify
+.Dq LANG=<locale_name>
+in the calendar file as early as possible.
+.Pp
Lines should begin with a month and day.
They may be entered in almost any format, either numeric or as character
strings.
@@ -83,7 +87,10 @@ Two numbers default to the month followed by the day.
Lines with leading tabs default to the last entered date, allowing
multiple line specifications for a single date.
``Easter'', may be followed by an positive or negative integer, is
-Easter for this year. Weekdays may be followed by ``-4'' ... ``+5'' (aliases
+Easter for this year.
+``Paskha'', may be followed by an positive or negative integer, is
+Orthodox Easter for this year.
+Weekdays may be followed by ``-4'' ... ``+5'' (aliases
last, first, second, third, fourth) for moving events like
``the last Monday in April''
@@ -105,6 +112,7 @@ are ignored.
.Pp
Some possible calendar entries:
.Bd -unfilled -offset indent
+LANG=C
#include <calendar.usholiday>
#include <calendar.birthday>
@@ -119,6 +127,7 @@ May Sun+2 ... second Sunday in May (Muttertag)
04/SunLast ... last Sunday in April, summer time in Europe
Easter ... Easter
Easter-2 ... Good Friday (2 days before Easter)
+Paskha ... Orthodox Easter
.Ed
.Sh FILES