Source: moin Version: 1.9.9-1 Severity: minor Tags: patch Hi,
Incorrect timezone offset applied/displayed due to "84600" typo (should be "86400", ie. 24 * 60 * 60). This does not affect moin 2.x. Patch attached. Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org / chris-lamb.co.uk `-
diff --git a/MoinMoin/userprefs/prefs.py b/MoinMoin/userprefs/prefs.py index f7b12e4..0da0194 100644 --- a/MoinMoin/userprefs/prefs.py +++ b/MoinMoin/userprefs/prefs.py @@ -138,7 +138,7 @@ space between words. Group page name is not allowed.""", wiki=True) % wikiutil.e # time zone request.user.tz_offset = util.web.getIntegerInput(request, 'tz_offset', - request.user.tz_offset, -84600, 84600) + request.user.tz_offset, -86400, 86400) # datetime format try: