diff --git a/pycrate_mobile/TS24008_IE.py b/pycrate_mobile/TS24008_IE.py index 98e6a2f..045a119 100644 --- a/pycrate_mobile/TS24008_IE.py +++ b/pycrate_mobile/TS24008_IE.py @@ -1040,7 +1040,7 @@ def encode(self, ts, tz=0.0): self['Hour'].encode( ts.tm_hour ) self['Min'].encode( ts.tm_min ) self['Sec'].encode( ts.tm_sec ) - self['TZ'].encode( tz ) + self['TimeZone'].encode( tz ) def decode(self): """decode the value of the TimeZoneTime into a Python struct_time and