Groups
Groups
Sign in
Groups
Groups
Pinax Users
Conversations
About
Send feedback
Help
Getting at User's Account (for Timezone Settings)
7 views
Skip to first unread message
Tom Clancy
unread,
Nov 18, 2009, 4:41:37 PM
11/18/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Pinax Users
Is there a way to get to the related account from the request.user
object? I'm trying to localize dates and what I'd like to is something
like:
entry.logtime|localtime:user.account.timezone
Brian Rosner
unread,
Nov 18, 2009, 7:20:07 PM
11/18/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to pinax...@googlegroups.com
That isn't supported yet, but in templates you should be able to write:
entry.logtime|localtime:account.timezone
Brian Rosner
http://oebfare.com
http://twitter.com/brosner
Reply all
Reply to author
Forward
0 new messages