Skip to content

Commit

Permalink
fix timestamp
Browse files Browse the repository at this point in the history
  • Loading branch information
c-schrade authored May 7, 2024
1 parent a929b25 commit 95dd633
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion algo/operator.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def init(self, *args, **kwargs):
os.mkdir(self.config.data_path)

self.init_phase_duration = pd.Timedelta(self.config.init_phase_length, self.config.init_phase_level)
self.operator_start_time = setup_operator_starttime(self.config.data_path).tz_localize(None)
self.operator_start_time = pd.Timestamp(setup_operator_starttime(self.config.data_path)).tz_localize(None)
self.first_data_time = load(self.config.data_path, "first_data_time.pickle")
self.device_type = load(self.config.data_path, "device_type.pickle")
self.init_median = load(self.config.data_path, "init_median.pickle")
Expand Down

0 comments on commit 95dd633

Please sign in to comment.