From 2a31c9cc9e2674eb735c391e0a263f9cc9003fb2 Mon Sep 17 00:00:00 2001 From: "Andrey A. Chernov" Date: Sun, 12 Sep 1999 13:33:33 +0000 Subject: [PATCH] use %OB for months names --- usr.bin/ncal/ncal.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.bin/ncal/ncal.c b/usr.bin/ncal/ncal.c index 5feac67afa9..2f82d7e1893 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