aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorSamuel Tardieu <sam@rfc1149.net>2014-12-20 10:00:15 +0100
committerSamuel Tardieu <sam@rfc1149.net>2014-12-20 10:00:15 +0100
commite606e1512d3e600e5beab2442e6095c9d08c989b (patch)
tree25872276f0216195701cfd895c693cb77dda6dd1 /main
parentc8e05ea28e01429be58c9fd8d987c527295056df (diff)
parentb1e40943d2bd6cac291b36b43ed02830c0732e48 (diff)
downloadcgeo-e606e1512d3e600e5beab2442e6095c9d08c989b.zip
cgeo-e606e1512d3e600e5beab2442e6095c9d08c989b.tar.gz
cgeo-e606e1512d3e600e5beab2442e6095c9d08c989b.tar.bz2
Merge branch 'issue-4550' into upstream
Diffstat (limited to 'main')
-rw-r--r--main/src/cgeo/geocaching/LogTrackableActivity.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/cgeo/geocaching/LogTrackableActivity.java b/main/src/cgeo/geocaching/LogTrackableActivity.java
index fd84173..fde328a 100644
--- a/main/src/cgeo/geocaching/LogTrackableActivity.java
+++ b/main/src/cgeo/geocaching/LogTrackableActivity.java
@@ -343,7 +343,7 @@ public class LogTrackableActivity extends AbstractLoggingActivity implements Dat
* @param logText
*/
private void addLocalTrackableLog(final String logText) {
- final LogEntry logEntry = new LogEntry(Calendar.getInstance().getTimeInMillis(), typeSelected, logText);
+ final LogEntry logEntry = new LogEntry(date.getTimeInMillis(), typeSelected, logText);
final ArrayList<LogEntry> modifiedLogs = new ArrayList<>(trackable.getLogs());
modifiedLogs.add(0, logEntry);
trackable.setLogs(modifiedLogs);