Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(286)

Unified Diff: templates/main.html

Issue 17953003: Make UTC times into local times for eroman@ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/chromium-status/
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « static/js/common/utc-to-local-time.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: templates/main.html
===================================================================
--- templates/main.html (revision 208793)
+++ templates/main.html (working copy)
@@ -17,7 +17,7 @@
<input type="text" size="80" name="message" value="{{ message }}">
<input type="hidden" name="last_status_key" value="{{ last_status_key }}">
<input type="submit" name="change" value="Change">
- <input type="button" name="refresh" value="Refresh" onclick="location.href='/';">
+ <input type="button" name="refresh" value="Refresh" onclick="location.reload();">
<input type="button" name="history" value="History" onclick="location.href='/status_viewer';">
</form>
{% endif %}
@@ -32,10 +32,11 @@
{% for a_status in status %}
<tr class="{{ a_status.general_state }}">
<td>{{ a_status.username }}</td>
- <td>{{ a_status.date|date:"D M d, H:i T " }}</td>
+ <td>{{ a_status.date|date:"D M d, Y H:i T " }}</td>
<td>{{ a_status.message }}</td>
</tr>
{% endfor %}
+ <script type="text/javascript" src="js/common/utc-to-local-time.js"></script>
</table>
</center>
« no previous file with comments | « static/js/common/utc-to-local-time.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698