Closed typpo closed 11 years ago
I added a timezone to the user table. It is set on login via openid or a hidden form field. The hidden field is always 'America/Los_Angeles' right now. We can add JS logic to guess this. We should also add a select on the profile page.
I added a jinja filter called 'to_local_datetime' but wasn't able to test it because the dashboard isn't working.
Thanks. I made changes to this in a9726cd and just used pytz instead of babel because I couldn't get that babel filter to work and it seemed easier.
cool. did you migrate the production database? what are the creds for the admin page in production?
On Mon, Mar 11, 2013 at 8:37 PM, Ian Webster notifications@github.comwrote:
Thanks. I made changes to this in a9726cdhttps://github.com/typpo/watchtower/commit/a9726cdand just used pytz instead of babel because I couldn't get that babel filter to work and it seemed easier.
— Reply to this email directly or view it on GitHubhttps://github.com/typpo/watchtower/issues/22#issuecomment-14756902 .
yeah, I migrated prod.
username: krooshal password: jackathon
On Mon, Mar 11, 2013 at 9:55 PM, Kyle Konrad notifications@github.comwrote:
cool. did you migrate the production database? what are the creds for the admin page in production?
On Mon, Mar 11, 2013 at 8:37 PM, Ian Webster notifications@github.comwrote:
Thanks. I made changes to this in a9726cd< https://github.com/typpo/watchtower/commit/a9726cd>and just used pytz instead of babel because I couldn't get that babel filter to work and it seemed easier.
— Reply to this email directly or view it on GitHub< https://github.com/typpo/watchtower/issues/22#issuecomment-14756902> .
— Reply to this email directly or view it on GitHubhttps://github.com/typpo/watchtower/issues/22#issuecomment-14758574 .
I'm on this.