Skip to content

Commit

Permalink
update panda time converter
Browse files Browse the repository at this point in the history
  • Loading branch information
rachel-labri-tipton committed Oct 25, 2023
1 parent 60d682c commit 51edb50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pvoutput/pvoutput.py
Original file line number Diff line number Diff line change
Expand Up @@ -1049,7 +1049,7 @@ def _set_rate_limit_params(self, headers):
setattr(self, param_name, header_value)

self.rate_limit_reset_time = pd.Timestamp.utcfromtimestamp(self.rate_limit_reset_time)
self.rate_limit_reset_time = self.rate_limit_reset_time.tz_localize("utc")
self.rate_limit_reset_time = self.rate_limit_reset_time.tz_convert("utc")

_LOG.debug("%s", self.rate_limit_info())

Expand Down

0 comments on commit 51edb50

Please sign in to comment.