mirror of
https://github.com/oddluck/limnoria-plugins.git
synced 2025-04-26 13:01:09 -05:00
NBA: use pacific time for date display
This commit is contained in:
parent
791dcae36a
commit
2a1c225801
@ -137,7 +137,7 @@ class NBA(callbacks.Plugin):
|
|||||||
if date:
|
if date:
|
||||||
date = pendulum.from_format(date, 'YYYYMMDD').to_date_string()
|
date = pendulum.from_format(date, 'YYYYMMDD').to_date_string()
|
||||||
else:
|
else:
|
||||||
date = pendulum.now().to_date_string()
|
date = pendulum.now('US/Pacific').to_date_string()
|
||||||
|
|
||||||
irc.reply("{0}: {1}".format(date, games_string))
|
irc.reply("{0}: {1}".format(date, games_string))
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user