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 4588ea2d1bd3a6b9f433a20995eb939898843dc6 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 6615804..e4292c7 100644 --- a/src/main/java/org/chorem/jtimer/io/GTimerIncrementalSaver.java +++ b/src/main/java/org/chorem/jtimer/io/GTimerIncrementalSaver.java @@ -1182,10 +1182,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>.