Replace %m with %_m in date_fmt for Chinese locales.
This is a fix for the problem mentioned in the PR. PR: 199441
This commit is contained in:
parent
c78d06c6a2
commit
43196a4e78
@ -243,7 +243,10 @@ sub callback_dtformat {
|
||||
|
||||
if ($nl eq 'ja_JP') {
|
||||
$s =~ s/(> )(%H)/$1%A $2/;
|
||||
} elsif ($nl eq 'ko_KR' || $nl eq 'zh_TW') {
|
||||
} elsif ($nl eq 'ko_KR' || $nl eq 'zh_CN' || $nl eq 'zh_TW') {
|
||||
if ($nl ne 'ko_KR') {
|
||||
$s =~ s/%m/%_m/;
|
||||
}
|
||||
$s =~ s/(> )(%p)/$1%A $2/;
|
||||
}
|
||||
$s =~ s/\.,/\./;
|
||||
|
Loading…
Reference in New Issue
Block a user