From e0e7c0be1f5924634dfb835b40a6cdfcbf4a74b4 Mon Sep 17 00:00:00 2001 From: istkabra <kyrill.abrams@stud.h-da.de> Date: Tue, 2 Jun 2020 16:24:40 +0200 Subject: [PATCH] * Timestamp is now easier to read --- src/main/java/MainClasses/Config.java | 2 +- src/main/resources/genetic.properties | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/MainClasses/Config.java b/src/main/java/MainClasses/Config.java index 356e1e6..58f1b75 100644 --- a/src/main/java/MainClasses/Config.java +++ b/src/main/java/MainClasses/Config.java @@ -152,7 +152,7 @@ public class Config { // Output settings jobName = this.properties.getProperty("jobName"); if(jobName.equals("")) { - SimpleDateFormat formatter = new SimpleDateFormat("ddMMyyyyHHmmss"); + SimpleDateFormat formatter = new SimpleDateFormat("dd_MM_yyyy_HH-mm-ss"); Date date = new Date(); jobName = formatter.format(date); } diff --git a/src/main/resources/genetic.properties b/src/main/resources/genetic.properties index 117b374..0649659 100644 --- a/src/main/resources/genetic.properties +++ b/src/main/resources/genetic.properties @@ -49,7 +49,7 @@ # log = Generate tab seperated file with a bit of information about each generation # generation = print a short overview about each generation to stdout visualizerType = log,generation,image,video - # Name of the job, filenames will be based on this name. If left empty a timestamp is used TODO: leaving it empty should use timestamp + # Name of the job, filenames will be based on this name. If left empty a timestamp is used jobName = # Directory for the image sequence imageSequenceDirectory = visualization/series -- GitLab