Commit Graph

8 Commits

Author SHA1 Message Date
Mike Pritchard 3fef3b185e Fix calendar so that it doesn't report strange results on
Jan 1st (and probably other dates as well) for some variable
events.  E.g.

01/SunThird	whatever...

Was being printed as:

Jan  0	Whatever

when calendar was run on January 1st.

Closes PR#2461.
1997-02-02 07:37:46 +00:00
Mike Pritchard b82b4e07ee Fix calendar so that you can run it like:
calendar -t 0101 -f file

Previously calendar's time processing routine directly
modified the "0101" argument" which confused getopt.
The time routines now make a copy of the argument
to mess with.
1997-01-12 18:35:14 +00:00
Andrey A. Chernov 9d0a521e31 Localize even more.
FIx Orthodox Easter calculation
Better debug output
1996-05-10 19:31:02 +00:00
Andrey A. Chernov 7f7d4bbe18 Allow to configure national Easter names.
Speedup my national months/days handling code.
1996-05-10 17:32:06 +00:00
Andrey A. Chernov ab5dc10734 Localize it
Handle Orthodox Eastern
-Wall cleanup
1996-05-10 16:30:22 +00:00
Wolfram Schneider a9251605ba Easter was one day to fast.
Unix use days *since* January 1 [0-365], not the 1th day of year etc.
1996-04-09 19:48:31 +00:00
Mike Pritchard 544b5cb2f1 Change calendar to report the actual date for variable day events.
E.g. for Easter, and entries like "04/SunFirst" calendar will
now report:

04/05*	Good Friday (2 days before easter)
04/07*	First Sunday...

instead of:

Easter-2	Good Friday...
04/SunFirst	First Sunday...

I also modified the calendar files to use the variable day format
for a lot of events so that they will be reported correctly.
E.g. U.S. daylight savings time is now listed as:

04/SunFirst	Daylight savings time...

There are still a lot of wrong dates in there for some events
that move from year to year, but I don't have a good calendar handy
right now that I can use for reference.
1996-04-06 01:15:21 +00:00
Wolfram Schneider c9c822e632 - handle events that move around from year to year, i.e.,
``the last Monday in April'
- handle easter

new options
	-f calendarfile
	-A days
	-B days

Calendar HOME directory ~/.calendar
don't sent mail if ~/.calendar/nomail exist
1996-02-02 06:02:41 +00:00