pytz new york timezone

This commit is contained in:
Justin 2023-03-29 16:38:52 +08:00 committed by GitHub
parent 531f3af4db
commit ea66a3ba8b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,6 +25,8 @@ import json
from datetime import datetime from datetime import datetime
import matplotlib.colors as mcolors import matplotlib.colors as mcolors
ny_zone = pytz.timezone('America/New_York')
def getInput(Block=False): def getInput(Block=False):
if Block or select.select([sys.stdin], [], [], 0) == ([sys.stdin], [], []): if Block or select.select([sys.stdin], [], [], 0) == ([sys.stdin], [], []):
msg = sys.stdin.read(1) msg = sys.stdin.read(1)