diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2019-04-03 18:22:06 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2019-04-03 18:22:06 -0700 |
commit | eec743ededa463f08f9baea8fd074780b354d8a7 (patch) | |
tree | ed383b5f6ad57b1f46103c2a6197b748e7c47ed2 /python/fatcat_web/templates/webcapture_view.html | |
parent | 668076105a975c2898c912c6259aa0189a7662a7 (diff) | |
download | fatcat-eec743ededa463f08f9baea8fd074780b354d8a7.tar.gz fatcat-eec743ededa463f08f9baea8fd074780b354d8a7.zip |
strftime() in a bunch of places
Diffstat (limited to 'python/fatcat_web/templates/webcapture_view.html')
-rw-r--r-- | python/fatcat_web/templates/webcapture_view.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/fatcat_web/templates/webcapture_view.html b/python/fatcat_web/templates/webcapture_view.html index a6c628d9..921d5d48 100644 --- a/python/fatcat_web/templates/webcapture_view.html +++ b/python/fatcat_web/templates/webcapture_view.html @@ -43,7 +43,7 @@ <code><a href="{{ row.url }}">{{ row.url}}</a></code> </div> <div style="margin-left: 1em;"> - {{ row.timestamp }} + {{ row.timestamp.strftime("%Y-%m-%d %H:%M:%S") }} {% if row.mimetype %}| {{ row.mimetype }}{% endif %} <br> <code><small style="color: #666;"> @@ -72,7 +72,7 @@ No known public archive for this webcapture. {% if webcapture.timestamp != None %} <div class="ui segment attached"> - <p><b>Capture Time</b> {{ webcapture.timestamp }} + <p><b>Capture Time</b> {{ webcapture.timestamp.strftime("%Y-%m-%d %H:%M:%S") }} </div> {% endif %} |