mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 06:52:21 -04:00
don't set local offset in server mode
This commit is contained in:
parent
df29061327
commit
cfd78367d4
1 changed files with 2 additions and 1 deletions
|
@ -78,7 +78,8 @@ class _Collection:
|
|||
d = datetime.datetime(d.year, d.month, d.day)
|
||||
d += datetime.timedelta(hours=4)
|
||||
self.crt = int(time.mktime(d.timetuple()))
|
||||
self.conf['localOffset'] = timezoneOffset()
|
||||
if not server:
|
||||
self.conf['localOffset'] = timezoneOffset()
|
||||
self._loadScheduler()
|
||||
if not self.conf.get("newBury", False):
|
||||
self.conf['newBury'] = True
|
||||
|
|
Loading…
Reference in a new issue