浏览代码

Change date/time format on lab page

raylu 14 年之前
父节点
当前提交
4a07017a6a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      pyc/templates/lab.html

+ 1 - 1
pyc/templates/lab.html

@@ -20,7 +20,7 @@ Lab {{ lab.id }} due {{ lab.due }} at 11:59:59 PDT (UTC-7):
 			{{ s.grade }}
 		{% endif %}
 	</td>
-	<td>{{ s.time }}</td>
+	<td>{{ s.time|date:'H:i:s d/n/Y' }}</td>
 	</tr>
 {% endfor %}
 </table></p>