提交 e2ab04e4 authored 作者: Jacek Ławrynowicz's avatar Jacek Ławrynowicz

ToDateParser - formatting

上级 837fa7b3
......@@ -308,8 +308,8 @@ public class ToDateParser {
int orgFormatLen = unmodifiedFormatStr.length();
int currentFormatPos = orgFormatLen - formatStr.length();
return format("\n %s('%s', '%s')", functionName, unmodifiedInputStr, unmodifiedFormatStr) + format(
"\n %s^%s , %s^ <-- Parsing failed at this point",
return format("\n %s('%s', '%s')", functionName, unmodifiedInputStr, unmodifiedFormatStr)
+ format("\n %s^%s , %s^ <-- Parsing failed at this point",
format("%" + (functionName.name().length() + currentInputPos) + "s", ""),
restInputLen <= 0 ? "" : format("%" + restInputLen + "s", ""),
currentFormatPos <= 0 ? "" : format("%" + currentFormatPos + "s", ""));
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论