Skip to content

Commit

Permalink
Merge 88bdce2 into 187ff70
Browse files Browse the repository at this point in the history
  • Loading branch information
czue committed Apr 15, 2014
2 parents 187ff70 + 88bdce2 commit 7550d99
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions couchforms/templatetags/xform_tags.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,10 @@ def render_form(form, domain, options):
Change to kwargs when we're on a version of Django that does.
"""
timezone = options.get('timezone', pytz.utc)
#display = options.get('display')
# don't actually use the passed in timezone since we assume form submissions already come
# in in local time.
# todo: we should revisit this when we properly handle timezones in form processing.
timezone = pytz.utc
case_id = options.get('case_id')

case_id_attr = "@%s" % const.CASE_TAG_ID
Expand Down

0 comments on commit 7550d99

Please sign in to comment.