moin openid plugin doesn't respect timezones

Bug #415841 reported by Andrew Glen-Young
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Moin OpenID module
New
Undecided
Unassigned

Bug Description

If moin-openid is configured to ask for timezones, the user's timezone offset is calculated incorrectly if the user is not within the server's timezone.

The incorrect calculation seems to occur within the '_handle_verify_continuation' function in the openidrp.py module.

Example:

If I login to a wiki with my timezone set to Europe/London (which is the same as the server's timezone) my timezone offset is correctly calculated as zero.

If I change my timezone to Europe/Lisbon, logout and log back into the wiki, my timezone offset is incorrectly set to -2320 (user_tz: Europe/Lisbon, user_utcoffset: -1 day, 23:23:00)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.