From 2371b3107a3cb39fdd53222021a0853bd05341cf Mon Sep 17 00:00:00 2001 From: Markus Wichmann Date: Wed, 30 Dec 2015 08:53:27 +0100 Subject: [PATCH 1/2] Add timezone to strftime's %c. glibc has the timezone there as well. I wanted to equalize it. POSIX says nothing on the matter, so either behavior is correct. --- src/locale/langinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/locale/langinfo.c b/src/locale/langinfo.c index b2c8569..7bfc9da 100644 --- a/src/locale/langinfo.c +++ b/src/locale/langinfo.c @@ -13,7 +13,7 @@ static const char c_time[] = "May\0" "June\0" "July\0" "August\0" "September\0" "October\0" "November\0" "December\0" "AM\0" "PM\0" - "%a %b %e %T %Y\0" + "%a %b %e %T %Y %Z\0" "%m/%d/%y\0" "%H:%M:%S\0" "%I:%M:%S %p\0" -- 2.1.4