diff options
author | Eric Fischer <enf@google.com> | 2009-08-03 15:43:18 -0700 |
---|---|---|
committer | Eric Fischer <enf@google.com> | 2009-08-03 15:43:18 -0700 |
commit | d5f72afd4984744a7198c8ec80341a6d2602d02f (patch) | |
tree | 2673f88232054cb5bbb97ef2acaad39e07f96948 /libc | |
parent | 8b09aa39c3ab7bf17384082728001550c072e8c7 (diff) | |
download | bionic-d5f72afd4984744a7198c8ec80341a6d2602d02f.zip bionic-d5f72afd4984744a7198c8ec80341a6d2602d02f.tar.gz bionic-d5f72afd4984744a7198c8ec80341a6d2602d02f.tar.bz2 |
Fix strftime to use localized month names.
It was using the default locale (capital L) instead of the
current locale (lowercase l).
Bug 2030864
Diffstat (limited to 'libc')
-rw-r--r-- | libc/tzcode/strftime.c | 4 |
1 files 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; |