diff --git a/hosted.py b/hosted.py index 274d36c..95d4d01 100644 --- a/hosted.py +++ b/hosted.py @@ -422,6 +422,11 @@ class Configuration(object): def metadata(self): return self._config['__metadata'] + @property + def metadata_timezone(self): + import pytz + return pytz.timezone(self.metadata['timezone']) + def __getitem__(self, key): return self._parsed[key]