From b767e3b973a1fc262aad05c8a87f7669534a52fe Mon Sep 17 00:00:00 2001 From: "Minha, Jeong" <60059706+PzaThief@users.noreply.github.com> Date: Sun, 8 May 2022 00:19:12 +0900 Subject: [PATCH] start attribute change to datetime from str (#1779) Co-authored-by: didierlopes.eth --- openbb_terminal/parent_classes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openbb_terminal/parent_classes.py b/openbb_terminal/parent_classes.py index 8efb0bf162b..aa9de723b8b 100644 --- a/openbb_terminal/parent_classes.py +++ b/openbb_terminal/parent_classes.py @@ -545,7 +545,7 @@ class StockBaseController(BaseController, metaclass=ABCMeta): self.suffix = "" if ns_parser.source == "iex": - self.start = self.stock.index[0].strftime("%Y-%m-%d") + self.start = self.stock.index[0].to_pydatetime() else: self.start = ns_parser.start self.interval = f"{ns_parser.interval}min"