aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/LogCacheActivity.java
diff options
context:
space:
mode:
authorBananeweizen <bananeweizen@gmx.de>2013-09-12 08:20:36 +0200
committerBananeweizen <bananeweizen@gmx.de>2013-09-12 08:20:36 +0200
commit01c12317d942c42f987c62542af05eb45251a22f (patch)
treed00d230c8c6f8e551d0b3431eaf054c72ae3879f /main/src/cgeo/geocaching/LogCacheActivity.java
parent35d45194060da46cbf491a387ed3ad4c422e0cc8 (diff)
downloadcgeo-01c12317d942c42f987c62542af05eb45251a22f.zip
cgeo-01c12317d942c42f987c62542af05eb45251a22f.tar.gz
cgeo-01c12317d942c42f987c62542af05eb45251a22f.tar.bz2
fix #3253: Default event log type should depend on date
Diffstat (limited to 'main/src/cgeo/geocaching/LogCacheActivity.java')
-rw-r--r--main/src/cgeo/geocaching/LogCacheActivity.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/cgeo/geocaching/LogCacheActivity.java b/main/src/cgeo/geocaching/LogCacheActivity.java
index 9fe8505..c739067 100644
--- a/main/src/cgeo/geocaching/LogCacheActivity.java
+++ b/main/src/cgeo/geocaching/LogCacheActivity.java
@@ -344,7 +344,7 @@ public class LogCacheActivity extends AbstractLoggingActivity implements DateDia
rating = 0.0;
if (cache.isEventCache()) {
final Date eventDate = cache.getHiddenDate();
- boolean expired = DateUtils.daysSince(eventDate.getTime()) > 0;
+ boolean expired = DateUtils.daysSince(eventDate.getTime()) >= 0;
if (cache.hasOwnLog(LogType.WILL_ATTEND) || expired) {
if (cache.hasOwnLog(LogType.ATTENDED)) {