offsetawarevsnaive
This commit is contained in:
parent
587a90fe19
commit
6d5cb7cbec
@ -229,7 +229,8 @@ class Tripsit(callbacks.Plugin):
|
|||||||
self.db[nick]['doses'] = doses
|
self.db[nick]['doses'] = doses
|
||||||
else:
|
else:
|
||||||
timezone = 'UTC'
|
timezone = 'UTC'
|
||||||
time = datetime.datetime.utcnow()
|
tz = pytz.timezone(timezone)
|
||||||
|
time = datetime.datetime.now(tz=tz)
|
||||||
dose_td = 0
|
dose_td = 0
|
||||||
if 'ago' in opts and len(opts['ago']) == 4:
|
if 'ago' in opts and len(opts['ago']) == 4:
|
||||||
ago = opts['ago']
|
ago = opts['ago']
|
||||||
|
Loading…
Reference in New Issue
Block a user