diff --git a/src/Mod/Arch/ArchSite.py b/src/Mod/Arch/ArchSite.py index e51532cd51..a2eed40cca 100644 --- a/src/Mod/Arch/ArchSite.py +++ b/src/Mod/Arch/ArchSite.py @@ -130,7 +130,7 @@ def makeSolarDiagram(longitude,latitude,scale=1,complete=False,tz=None): else: oldversion = True if tz: - tz = datetime.timezone(datetime.timedelta(hours=-3)) + tz = datetime.timezone(datetime.timedelta(hours=tz)) else: tz = datetime.timezone.utc else: @@ -994,7 +994,7 @@ class _ViewProviderSite: The name of the property that has changed. """ - if prop in ["Longitude","Latitude"]: + if prop in ["Longitude","Latitude","TimeZone"]: self.onChanged(obj.ViewObject,"SolarDiagram") elif prop == "Declination": self.onChanged(obj.ViewObject,"SolarDiagramPosition")