aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-09-28 13:27:54 -0700
committerBryan Newbold <bnewbold@robocracy.org>2018-09-28 13:27:54 -0700
commit03961b5019a402ec5706ff43c9fb4d8f903e7369 (patch)
tree0f5badc0c19b3fd5c0b8f7d5bd3348969673b0b4
parentcc92797003bd83af10e6ddec04b62a6c0f3ab7df (diff)
downloadfatcat-03961b5019a402ec5706ff43c9fb4d8f903e7369.tar.gz
fatcat-03961b5019a402ec5706ff43c9fb4d8f903e7369.zip
show only date component of datetime
-rw-r--r--python/fatcat/templates/release_view.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/fatcat/templates/release_view.html b/python/fatcat/templates/release_view.html
index aad90718..a4b3e2bb 100644
--- a/python/fatcat/templates/release_view.html
+++ b/python/fatcat/templates/release_view.html
@@ -22,7 +22,7 @@
<div class="one wide column"></div>
<div class="ten wide column" style="font-size: 16px;">
-{% if release.release_date != None %}<p><b>Date (published):</b> {{ release.release_date }}{% endif %}
+{% if release.release_date != None %}<p><b>Date (published):</b> {{ release.release_date[:10] }}{% endif %}
{% if release.pmid != None %}
<br><b>PubMed:</b> <a href="https://www.ncbi.nlm.nih.gov/pubmed/{{ release.pmid }}">&nbsp;<code>{{ release.pmid }}</code></a>
{% endif %}