Skip to content

Commit

Permalink
Revert "Display correct timezone on timestamp for question submission"
Browse files Browse the repository at this point in the history
This reverts commit b0a352e.
  • Loading branch information
Giulio Gratta committed Jan 15, 2016
1 parent af9426e commit 41ca763
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 41ca763

Please sign in to comment.