fix 月份从0开始

This commit is contained in:
张江玮
2023-07-03 15:18:53 +08:00
parent 79fcd718b5
commit ca123d2148

View File

@@ -270,7 +270,7 @@ public class TaskUtils {
String mixNum = String.format("%02d", vd.getIntValue("mix_num"));
// 日期3位第1位表示月超过1位的'0'表示10月'N'表示11月'D'表示12月后2位表示日对于少于2位的日 String 简单格式化即可。
String date = month[DateUtil.thisMonth() - 1] + String.format("%02d", DateUtil.thisDayOfMonth());
String date = month[DateUtil.thisMonth()] + String.format("%02d", DateUtil.thisDayOfMonth());
// 拼接字符串返回。
return partUsed + brickType + yjCode + hljCode + mixNum + date;