Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 019ae25d authored by Neil Fuller's avatar Neil Fuller Committed by android-build-merger
Browse files

Merge "Fix time zone offset calculation in ResponseData"

am: e1f3701d

Change-Id: I91ca8c8999c8a6198b3b452cb8c92ca1c602f735
parents bf42fffd e1f3701d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -258,7 +258,7 @@ class DTTZResponseData extends ResponseData {
            data[7] = (byte) 0xFF;    // set FF in terminal response
        } else {
            TimeZone zone = TimeZone.getTimeZone(tz);
            int zoneOffset = zone.getRawOffset() + zone.getDSTSavings();
            int zoneOffset = zone.getOffset(mCalendar.getTimeInMillis());
            data[7] = getTZOffSetByte(zoneOffset);
        }