From ea66a3ba8bfed80b4a22920a4983f33f148fa9b7 Mon Sep 17 00:00:00 2001 From: Justin Date: Wed, 29 Mar 2023 16:38:52 +0800 Subject: [PATCH] pytz new york timezone --- stockTicker.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stockTicker.py b/stockTicker.py index 1aa6f1a..5b2a6ba 100755 --- a/stockTicker.py +++ b/stockTicker.py @@ -25,6 +25,8 @@ import json from datetime import datetime import matplotlib.colors as mcolors +ny_zone = pytz.timezone('America/New_York') + def getInput(Block=False): if Block or select.select([sys.stdin], [], [], 0) == ([sys.stdin], [], []): msg = sys.stdin.read(1)