Skip to content

Commit

Permalink
Fixed incorrect date
Browse files Browse the repository at this point in the history
  • Loading branch information
LatvianModder committed Mar 28, 2015
1 parent d0d448b commit c9058bb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/latmod/cursegraph/Graph.java
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ public static String getTimeString(long time)
{
Date date = new Date(time);
String s = "";
s += formNum(date.getDate() + 1);
s += formNum(date.getDate());
s += ".";
s += formNum(date.getMonth() + 1);
s += ".";
Expand Down
2 changes: 1 addition & 1 deletion src/latmod/cursegraph/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public static void main(String[] args) throws Exception
System.exit(1); return;
}

System.out.println("Loading CurseGraph, Version: " + version);
System.out.println("Loading CurseGraph, Version: " + version + " @ " + Graph.getTimeString(System.currentTimeMillis()));

projectsFile = new File(folder, "projects.json");
configFile = new File(folder, "config.json");
Expand Down

0 comments on commit c9058bb

Please sign in to comment.