includes all the country specific holidays given in the preceding argument into the eternal holiday list, i.e. Canadian, German, French and Italian holidays. Actually, Gcal respects the following country codes:`--cc-holidays=ca+DE+fr+it' resp.,
`-q ca+DE+fr+it'
at
au
be
ca
ch
cz
de
dk
es
fi
fr
gb
gr
hu
it
mx
nl
no
pl
pt
se
si
th
us
$ gcal -i- -| -| September 1994 -| Su Mo Tu We Th Fr Sa -| 1 2 3 -| 4 5 6 7 8 9 10 -| 11 12 13 14 15 16 17 -| 18 19 20 21 22 23 24 -| 25 26 27 28 29 30
To get the special calendar format and to force the output of a calendar sheet, start Gcal with the `-i' respectively the `--type=special' option:
$ gcal -i -| -| September 1994 -| -| Sunday 4 11 18 25 -| Monday 5 12 19 26 -| Tuesday 6 13 20 27 -| Wednesday 7 14 21 28 -| Thursday 1 8 15 22 29 -| Friday 2 9 16 23 30 -| Saturday 3 10 17 24
--orthodox-calendar
option, Gcal is unable to
display Gregorian years later than 2799 in the correct way for the Eastern
churches, because they use a different scheme for calculating the leap years.
The method for computing leap years within the common Gregorian calendar,
which Gcal uses by default, is as follows:
But the Eastern orthodox churches compute leap years within the Gregorian calendar by using another rule:A leap year is any year, which number can be divided by 4 without a remainder, and years ending in hundrets are no leap years unless they are divisible by 400.
The first difference therefore occurs in the year 2800, which is a leap year in the common Gregorian calendar, but an ordinary year only in the calendar as used by the Eastern orthodox churches.A leap year is any year, which number can be divided by 4 without a remainder, and years ending in hundrets are leap years, if a remainder of 2 or 6 occurs when such a year is divided by 9.
--starting-day=Sunday or --starting-day=7 or -s SUNDAY or -s sund or -sSu or -s 7thus all specifies the Sunday (1==Mon, 2==Tue ... 7==Sun). If the `-s today' option (or `--starting-day=today') or the `-s 0' option (or
--gregorian-reform=1802,4,7,17Please note that it is possible to corrupt the calendars likewise the fixed date feature logically (which works correctly now for the year in which the Gregorian Reformation have occured) if argument is not used with care.
GCAL_DATE_FORMAT
environment variable
(15), or it can be arranged by the option argument text,
e.g.:
--date-format="%Y %D %m ; %1(%A)%2"The format text may contain on the one hand all characters which can be managed by Gcal, and on the other hand character replacement instructions and format statements which are transformed into their according values at run-time. A minimum date format text must contain components from the day group, the month group, the year group and the highlighting group. A component of the weekday name group is optional. The following format statements and character replacement instructions are currently supported: Day group (exactly one member must be defined):
%d
%D
%u
%U
%B
%b
%m
%M
%y
%Y
%z
%Z
%A
%W
%w
%1
must be
specified before %2
):
%1
%2
_
\_
\%
Go to the first, previous, next, last section, table of contents.