提交 3e29e664 authored 作者: sylvain-ilm's avatar sylvain-ilm

no need to call toUpperEnglish(), since a Capitalization is applied just after

上级 736b6d51
......@@ -654,7 +654,7 @@ public class ToChar {
cal.get(Calendar.DAY_OF_MONTH)));
i += 2;
} else if ((cap = containsAt(format, i, "DY")) != null) {
String day = StringUtils.toUpperEnglish(new SimpleDateFormat("EEE").format(ts));
String day = new SimpleDateFormat("EEE").format(ts);
output.append(cap.apply(day));
i += 2;
} else if ((cap = containsAt(format, i, "DAY")) != null) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论