aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
Diffstat (limited to 'main')
-rw-r--r--main/src/cgeo/geocaching/LogCacheActivity.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/main/src/cgeo/geocaching/LogCacheActivity.java b/main/src/cgeo/geocaching/LogCacheActivity.java
index 9d8d053..1e915ad 100644
--- a/main/src/cgeo/geocaching/LogCacheActivity.java
+++ b/main/src/cgeo/geocaching/LogCacheActivity.java
@@ -351,6 +351,10 @@ public class LogCacheActivity extends AbstractLoggingActivity implements DateDia
} else {
typeSelected = LogType.WILL_ATTEND;
}
+ // it this is an attended event log, use the event date by default instead of the current date
+ if (expired && typeSelected == LogType.ATTENDED) {
+ date.setTime(eventDate);
+ }
} else {
if (cache.isFound()) {
typeSelected = LogType.NOTE;