Skip to content

Commit 78101b9

Browse files
committed
Updated timestamps to replace ':' with '_'
1 parent ebe12d1 commit 78101b9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/gr/gousiosg/javacg/stat/support/RepoTool.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ private RepoTool(String name, String URL, String checkoutID, String patchName, S
3737
this.subProject = subProject;
3838
this.mvnOptions = mvnOptions;
3939

40-
this.timeStamp = String.valueOf(java.time.LocalDateTime.now());
40+
this.timeStamp = String.valueOf(java.time.LocalDateTime.now()).replace(':', '_');
4141
}
4242

4343
public RepoTool(String name) throws FileNotFoundException {
@@ -55,7 +55,7 @@ public RepoTool(String name) throws FileNotFoundException {
5555
mvnOptions = (String) data.getOrDefault("mvnOptions", "");
5656
properties = (List<Map<String,String>>) data.get("properties");
5757

58-
this.timeStamp = String.valueOf(java.time.LocalDateTime.now());
58+
this.timeStamp = String.valueOf(java.time.LocalDateTime.now()).replace(':', '_');
5959
}
6060

6161
public void cloneRepo() throws GitAPIException, JGitInternalException {

0 commit comments

Comments
 (0)