Only need UTC offset hacking if time w broker is messed..

bar_select
Tyler Goodlet 2020-09-22 12:31:08 -04:00
parent d93ce84a99
commit 373ff90229
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ class DynamicDateAxis(pg.AxisItem):
map(int, filter(lambda i: i < bars_len, indexes)) map(int, filter(lambda i: i < bars_len, indexes))
)] )]
# TODO: **don't** have this hard coded shift to EST # TODO: **don't** have this hard coded shift to EST
dts = pd.to_datetime(epochs, unit='s') - 4*pd.offsets.Hour() dts = pd.to_datetime(epochs, unit='s') # - 4*pd.offsets.Hour()
return dts.strftime(self.tick_tpl[delay]) return dts.strftime(self.tick_tpl[delay])
def tickStrings(self, values: List[float], scale, spacing): def tickStrings(self, values: List[float], scale, spacing):