diff options
author | ache <ache@FreeBSD.org> | 1999-09-12 13:33:33 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1999-09-12 13:33:33 +0000 |
commit | f8827333964c5c8892f027d1dc2034fd0c328a14 (patch) | |
tree | ea02d47b30186dfd0c1255903383dbc01addc686 /usr.bin/ncal | |
parent | 08e7f2048e96104535e475297f3fa156c76a353b (diff) | |
download | FreeBSD-src-f8827333964c5c8892f027d1dc2034fd0c328a14.zip FreeBSD-src-f8827333964c5c8892f027d1dc2034fd0c328a14.tar.gz |
use %OB for months names
Diffstat (limited to 'usr.bin/ncal')
-rw-r--r-- | usr.bin/ncal/ncal.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ncal/ncal.c b/usr.bin/ncal/ncal.c index 5feac67..2f82d7e 100644 --- a/usr.bin/ncal/ncal.c +++ b/usr.bin/ncal/ncal.c @@ -582,7 +582,7 @@ mkmonth(int y, int m, int jd_flag, struct monthlines *mlines) /* Set name of month. */ memset(&tm, 0, sizeof(tm)); tm.tm_mon = m; - strftime(mlines->name, sizeof(mlines->name), "%B", &tm); + strftime(mlines->name, sizeof(mlines->name), "%OB", &tm); /* * Set first and last to the day number of the first day of this @@ -673,7 +673,7 @@ mkmonthb(int y, int m, int jd_flag, struct monthlines *mlines) /* Set name of month centered */ memset(&tm, 0, sizeof(tm)); tm.tm_mon = m; - strftime(mlines->name, sizeof(mlines->name), "%B", &tm); + strftime(mlines->name, sizeof(mlines->name), "%OB", &tm); /* * Set first and last to the day number of the first day of this |