Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add timezone option for users #211

Open
sethwoodworth opened this issue Dec 19, 2012 · 0 comments
Open

Add timezone option for users #211

sethwoodworth opened this issue Dec 19, 2012 · 0 comments

Comments

@sethwoodworth
Copy link
Member

  • add timezone to models.UserProfile
  • default timezones to EDT/EST or the server timezone setting
  • import TZ to templates that render datetimes {% load TZ %}
  • add location to set user timezone in edit_profile (when editing profile exists Enable UserProfile editing #210)
  • wrap template date display tags with {% timezone user.get_profile.timezone %}…{% endtimezone %}

https://docs.djangoproject.com/en/dev/topics/i18n/timezones/#time-zone-aware-output-in-templates

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant