Timezones in Lastuser

5 views
Skip to first unread message

Kiran Jonnalagadda

unread,
Nov 26, 2012, 11:55:52 AM11/26/12
to hasgee...@googlegroups.com
Hey all,

Localizing time has been a recurring problem in HasGeek apps, so today I added timezone as an additional field in Lastuser's user model. You'll need to run this to update the db for your copy of Lastuser:

alter table user add column timezone varchar(40);

Your timezone is auto-detected via JS when you login, and is saved to your profile. Client apps get it when they ask for your id.

Flask-Lastuser is pending an update to recognize and save the timezone.

Best,
Kiran

-- 
Kiran Jonnalagadda

Reply all
Reply to author
Forward
0 new messages