Skip to content

Commit

Permalink
Fixed crash with the Java launcher. Closes Guichaguri#55
Browse files Browse the repository at this point in the history
  • Loading branch information
Guichaguri committed Apr 22, 2017
1 parent 27fd506 commit 98124b6
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,8 @@ public static void addProfile(JsonObject launcherProfiles, String selectedProfil
}

private static String getDateISO() {
SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss");
// ISO 8601
SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ssZ");
return format.format(new Date());
}

Expand Down

0 comments on commit 98124b6

Please sign in to comment.