Fix strftime to use localized month names.
It was using the default locale (capital L) instead of the current locale (lowercase l). Bug 2030864
This commit is contained in:
parent
8b09aa39c3
commit
d5f72afd49
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue