Commit Graph

18 Commits

Author SHA1 Message Date
Peter Pentchev
ac6d1c224f Teach ncal(1) about month names specified on the command line.
Reviewed by:	-audit
Approved by:	silence on -audit
MFC after:	3 weeks
2002-10-02 12:31:10 +00:00
Mark Murray
f372d010df Easy warns fixes; constify. 2002-04-28 12:25:03 +00:00
Andrey A. Chernov
1c593a0d69 Handle ASCII and US-ASCII aliases 2001-06-10 23:26:47 +00:00
Andrey A. Chernov
c052429fde Remove "SU" - not valid country code
Fix locale comparison with "C", add "POSIX"
2001-06-10 21:06:01 +00:00
Andrey A. Chernov
3740863d60 Properly deal with one char weekdays 2001-03-22 00:38:46 +00:00
Andrey A. Chernov
e036a70eb9 Uppercase first month letter
Terminate weekday string
2001-03-22 00:25:26 +00:00
Andrey A. Chernov
f5e40af22e Use nl_langinfo instead of %EF 2001-03-21 14:24:05 +00:00
Andrey A. Chernov
9d969a8b29 Use %EF instead of hardcoded order for each country 1999-11-30 20:08:50 +00:00
Andrey A. Chernov
2a31c9cc9e use %OB for months names 1999-09-12 13:33:33 +00:00
Peter Wemm
c3aac50f28 $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
Bill Fumerola
9ef5c48bef Clean up some ambiguous nested if/elses. 1999-07-04 17:26:16 +00:00
Wolfgang Helbig
cf5f6adf44 Due to the switch form Julian to Gregorian calender,
even a whole month might be missing.
This caused a bug for the LN -calender, whose switch was
on Dec 12, 9999.
1999-03-27 21:08:13 +00:00
Wolfgang Helbig
630d15bbf9 Handle option -j correctly.
Synchronize usage message with man page.
PR:	bin/5488
1998-01-15 10:23:34 +00:00
Philippe Charnier
a99e456443 Sync usage and synopsis. Add rcsid. 1998-01-07 07:46:33 +00:00
Wolfgang Helbig
f8a0edba2c 1. Don't be confused if the first day of a month is dropped due to
Gregorian Reformation. E. G. in Albania December 1, 1912 doesn't exist.
2. Add some countries in the switch table (BE, FI, LN, LU)
3. Correct some entries from the new found source of calendar knowledge:
   http://www.pip.dknet.dk/~c-t/calendar.html,
   That is Claus Tondering's Calendar FAQ.
1998-01-06 00:46:11 +00:00
Wolfgang Helbig
cde26ed2a0 Use locale to guess the switch date.
Localize formatting of date of easter.
Suggested by:	ache
1998-01-03 15:10:11 +00:00
Wolfgang Helbig
a4264dce8c Ensure 2 letter abbreviations of weekdays (even if LANG=C
and invoked as "cal").
1997-12-31 15:55:08 +00:00
Wolfgang Helbig
0cb2e609d9 Add new command ncal. 1997-12-15 20:35:22 +00:00