summaryrefslogtreecommitdiff
path: root/usr.bin/cal/cal.c
AgeCommit message (Expand)Author
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2009-01-01Fix iso weekno calculation by using a different algorithm. Still hardOtto Moerbeek
2008-04-18Allow cal to show week numbers. Switch between sunday based week numberingPierre-Yves Ritschard
2008-04-10Introduce the -m flag which shows weeks as starting on mondays.Pierre-Yves Ritschard
2006-10-29Optimise a couple of printf()s; originally from Han Boetes.Tom Cosgrove
2006-04-25atoi/strtonum from han boetesTed Unangst
2006-03-24KNF, no binary change.Ray Lai
2005-12-08oops - forgot to remind tom to update usage();Jason McIntyre
2005-12-07Tidy up month parsing: don't accept "mayor" for "may", or "4x" for "4".Tom Cosgrove
2005-09-25cal now (well, has done for a while) accepts a single argumentJason McIntyre
2005-08-24range check months 1-12; ok tedu millert othersTheo de Raadt
2005-07-06spacingTheo de Raadt
2005-07-06warning clean and constinessTed Unangst
2005-07-06drop in parsemonth from freebsd.Ted Unangst
2005-04-13do not trust snprintf return value; ok otto mickeyTheo de Raadt
2003-06-10mostly ansi cleanup; pval okTheo de Raadt
2003-06-03Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2002-05-29more snprintfTheo de Raadt
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ...Todd C. Miller
1998-04-25nothing important...Theo de Raadt
1998-03-30Y2K fixes from Andreas.Gunnarsson@emw.ericsson.se; culled from various placesTheo de Raadt
1997-01-15getopt(3) returns -1 when out of args, not EOF, whee!Todd C. Miller
1996-08-11use 2-char day names; from wosch@cs.tu-berlin.deTheo de Raadt
1996-06-26rcsidTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt