Skip to content

Commit

Permalink
Added get_station_tz() to retrieve time zone information
Browse files Browse the repository at this point in the history
  • Loading branch information
hleroy committed Aug 8, 2019
1 parent 369e558 commit 871d2c1
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tmgpm.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,14 @@ def get_station_list():
"""
return list(Tmgpm.stations_data.keys())

def get_station_tz(self):
"""Return current station timezone offset
Returns:
A string with the timezone offset e.g. +1.0
"""
return self.UTC

def set_station(self, station_name):
"""Set station name and initialize harmonic data for this station
Expand Down

0 comments on commit 871d2c1

Please sign in to comment.