This is an automated email from the git hooks/post-receive script. New commit to branch feature/sync in repository jtimer. See https://gitlab.nuiton.org/chorem/jtimer.git commit 462d5dfeece1bbf0e38fa0e4a1718431103e4786 Author: servantie <servantie.c@gmail.com> Date: Thu Jun 23 11:42:54 2016 +0200 remove milliseconds of lastSyncTime from sync save file --- src/main/java/org/chorem/jtimer/io/GTimerIncrementalSaver.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/main/java/org/chorem/jtimer/io/GTimerIncrementalSaver.java b/src/main/java/org/chorem/jtimer/io/GTimerIncrementalSaver.java index 91c2d11..48c5754 100644 --- a/src/main/java/org/chorem/jtimer/io/GTimerIncrementalSaver.java +++ b/src/main/java/org/chorem/jtimer/io/GTimerIncrementalSaver.java @@ -1171,10 +1171,11 @@ public class GTimerIncrementalSaver extends AbstractSaver implements Saver, else { out.write("false "); } - //write lastsync - //todo: remove the milliseconds + //write lastsync (HH:MM:SS) if (sync.getLastSync().isAfter(LocalDateTime.MIN)) { - out.write(sync.getLastSync().toString() + "\n"); + //remove the milliseconds + String syncString = sync.getLastSync().toString().substring(0, sync.getLastSync().toString().length()-4); + out.write(syncString + "\n"); } else { out.write("\n"); -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.