summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndroid (Google) Code Review <android-gerrit@google.com>2009-08-04 10:06:58 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2009-08-04 10:06:58 -0700
commit6e36f86333486ac60dfa9684d1af9475e5a90a11 (patch)
tree2673f88232054cb5bbb97ef2acaad39e07f96948
parent2b459748378c1f655ae2f46b5fb9a2427edfcfc8 (diff)
parentd5f72afd4984744a7198c8ec80341a6d2602d02f (diff)
downloadbionic-6e36f86333486ac60dfa9684d1af9475e5a90a11.zip
bionic-6e36f86333486ac60dfa9684d1af9475e5a90a11.tar.gz
bionic-6e36f86333486ac60dfa9684d1af9475e5a90a11.tar.bz2
Merge change 9546
* changes: Fix strftime to use localized month names.
-rw-r--r--libc/tzcode/strftime.c4
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;