Skip to content

Commit

Permalink
Merge pull request openedx#402 from Stanford-Online/giulio/revert-unr…
Browse files Browse the repository at this point in the history
…eviewed-timezone-commit

Revert "Display correct timezone on timestamp for question submission"
  • Loading branch information
caesar2164 committed Jan 15, 2016
2 parents a18aa63 + 41ca763 commit f8201e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lms/templates/courseware/submission_history.html
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<% import json, pytz %>
<% import json %>
<h3>${username | h} > ${course_id | h} > ${location | h}</h3>

% for i, (entry, score) in enumerate(zip(history_entries, scores)):
<hr/>
<div>
<b>#${len(history_entries) - i}</b>: ${entry.updated.astimezone(pytz.timezone(TIME_ZONE))} (${TIME_ZONE} time)</br>
<b>#${len(history_entries) - i}</b>: ${entry.updated} (${TIME_ZONE} time)</br>
Score: ${score.grade} / ${score.max_grade}
<pre>
${json.dumps(entry.state, indent=2, sort_keys=True) | h}
Expand Down

0 comments on commit f8201e7

Please sign in to comment.