From d5f72afd4984744a7198c8ec80341a6d2602d02f Mon Sep 17 00:00:00 2001 From: Eric Fischer Date: Mon, 3 Aug 2009 15:43:18 -0700 Subject: Fix strftime to use localized month names. It was using the default locale (capital L) instead of the current locale (lowercase l). Bug 2030864 --- libc/tzcode/strftime.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libc/tzcode/strftime.c b/libc/tzcode/strftime.c index 930ecf4..ab713fb 100644 --- a/libc/tzcode/strftime.c +++ b/libc/tzcode/strftime.c @@ -225,12 +225,12 @@ label: if (modifier == '-') { pt = _add((t->tm_mon < 0 || t->tm_mon >= MONSPERYEAR) ? - "?" : Locale->standalone_month[t->tm_mon], + "?" : locale->standalone_month[t->tm_mon], pt, ptlim, modifier); } else { pt = _add((t->tm_mon < 0 || t->tm_mon >= MONSPERYEAR) ? - "?" : Locale->month[t->tm_mon], + "?" : locale->month[t->tm_mon], pt, ptlim, modifier); } continue; -- cgit v1.1