diff --git a/src/main/java/nl/cyberworkz/roboflightmonitor/domain/Flight.java b/src/main/java/nl/cyberworkz/roboflightmonitor/domain/Flight.java index 0328091..8cf5436 100644 --- a/src/main/java/nl/cyberworkz/roboflightmonitor/domain/Flight.java +++ b/src/main/java/nl/cyberworkz/roboflightmonitor/domain/Flight.java @@ -119,7 +119,7 @@ public void deriveLandingTime() { DateTimeZone dtz = DateTimeZone.forTimeZone(tz); DateTime dt = new DateTime(this.scheduleDate); dt.withZone(dtz); - dt.plus(new Period(this.scheduleTime.getHourOfDay(), this.scheduleTime.getMinuteOfHour(), + dt = dt.plus(new Period(this.scheduleTime.getHourOfDay(), this.scheduleTime.getMinuteOfHour(), this.scheduleTime.getSecondOfMinute(), this.scheduleTime.getMillisOfSecond())); this.scheduleDateTime = dt;