You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These results in GMT are all exactly two hours earlier than would be the correct times in Dallas. This seems to correlate with the two hour time difference between my simulator (PDT) and the lat/lon given (CDT).
Possible cause:
The Solar struct initializes its property 'self.date' using Date(), which will take the time from the device. So when the solar events are requested in a timezone different from the device this can lead to a time offset.
I hope this helps!
The text was updated successfully, but these errors were encountered:
I am getting some incorrect results on my iOS simulator with the following conditions:
Returned results:
These results in GMT are all exactly two hours earlier than would be the correct times in Dallas. This seems to correlate with the two hour time difference between my simulator (PDT) and the lat/lon given (CDT).
Possible cause:
The Solar struct initializes its property 'self.date' using
Date()
, which will take the time from the device. So when the solar events are requested in a timezone different from the device this can lead to a time offset.I hope this helps!
The text was updated successfully, but these errors were encountered: