summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-11-07 18:22:57 -0800
committerBryan Newbold <bnewbold@robocracy.org>2018-11-07 18:22:57 -0800
commit87a009f758e7eea4f2fe4395d6f52364fe836212 (patch)
tree6d6cfe6e5837ce88c37300f3cc6331b9b422b91d /python
parent0565516ce64297cf83f4cab23454f017c0fb3515 (diff)
downloadfatcat-87a009f758e7eea4f2fe4395d6f52364fe836212.tar.gz
fatcat-87a009f758e7eea4f2fe4395d6f52364fe836212.zip
fix release_date indexing in release_view.html
Diffstat (limited to 'python')
-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 3c05653b..39dcf8fd 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[:10] }}{% endif %}
+{% if release.release_date != None %}<p><b>Date (published):</b> {{ release.release_date }}{% 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 %}