Skip to content

Commit 34c8762

Browse files
committed
Fix off by one in Util.iso8601
1 parent 32ef744 commit 34c8762

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • src/main/groovy/net/minecraftforge/forgedev

src/main/groovy/net/minecraftforge/forgedev/Util.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ public static String iso8601Now() {
180180
public static String iso8601(Date self) {
181181
var format = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ssZ");
182182
var result = format.format(self);
183-
return result.substring(0, 21) + ':' + result.substring(22);
183+
return result.substring(0, 22) + ':' + result.substring(22);
184184
}
185185

186186
public static <R extends HasConfigurableValue> R finalize(Project project, R ret) {

0 commit comments

Comments
 (0)