summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authorjoerg <joerg@FreeBSD.org>1995-07-22 22:14:49 +0000
committerjoerg <joerg@FreeBSD.org>1995-07-22 22:14:49 +0000
commit8029f6d68e82e236779fc1b4aa8878ef9baf0474 (patch)
treeb0272aa2a911fa60cf7267b848aaecf2b371de6f /usr.bin
parent35509aece996a3270a9b30cb7e72b84ed7f0415c (diff)
downloadFreeBSD-src-8029f6d68e82e236779fc1b4aa8878ef9baf0474.zip
FreeBSD-src-8029f6d68e82e236779fc1b4aa8878ef9baf0474.tar.gz
Change the weekday abbrevaiations to two letters each. This reduces
their ambiguity and makes the output more consistent with other calendars (e.g. cal in Emacs). Reviewed by: Submitted by: wosch@cs.tu-berlin.de (Wolfram Schneider) Obtained from:
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/cal/cal.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cal/cal.c b/usr.bin/cal/cal.c
index 88d2538..9bf218d 100644
--- a/usr.bin/cal/cal.c
+++ b/usr.bin/cal/cal.c
@@ -96,8 +96,8 @@ char *month_names[12] = {
"July", "August", "September", "October", "November", "December",
};
-char *day_headings = " S M Tu W Th F S";
-char *j_day_headings = " S M Tu W Th F S";
+char *day_headings = "Su Mo Tu We Th Fr Sa";
+char *j_day_headings = " Su Mo Tu We Th Fr Sa";
/* leap year -- account for gregorian reformation in 1752 */
#define leap_year(yr) \
OpenPOWER on IntegriCloud