fix source last crawl date formatting in template

This commit is contained in:
meeb 2020-12-14 01:00:48 +11:00
parent df988547e7
commit b667a7ec55
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@
</tr> </tr>
<tr title="When the source last checked for available media"> <tr title="When the source last checked for available media">
<td class="hide-on-small-only">Last crawl</td> <td class="hide-on-small-only">Last crawl</td>
<td><span class="hide-on-med-and-up">Last crawl<br></span><strong>{% if source.last_crawl %}{{ source.last_crawl|date:'Y-m-d H-I-S' }}{% else %}Never{% endif %}</strong></td> <td><span class="hide-on-med-and-up">Last crawl<br></span><strong>{% if source.last_crawl %}{{ source.last_crawl|date:'Y-m-d H:i:s' }}{% else %}Never{% endif %}</strong></td>
</tr> </tr>
<tr title="Quality and type of media the source will attempt to sync"> <tr title="Quality and type of media the source will attempt to sync">
<td class="hide-on-small-only">Source resolution</td> <td class="hide-on-small-only">Source resolution</td>