Skip to content

Commit

Permalink
add date format for project view
Browse files Browse the repository at this point in the history
  • Loading branch information
VarshaUN committed Jan 7, 2025
1 parent 53700eb commit acb9372
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<div>
{% include 'scanpipe/includes/project_labels.html' with labels=project.labels.all only %}
</div>
<span class="has-text-grey is-size-7 is-block" title="{{ project.created_date|date:'N j, Y, P T' }}">Created {{ project.created_date|naturaltime }}</span>
<span class="has-text-grey is-size-7 is-block" title="{{ project.created_date|naturaltime }}">Created {{ project.created_date|date:'Y-m-d H:i' }}</span>
</th>
<td>
{% if project.discoveredpackages_count %}
Expand Down
4 changes: 2 additions & 2 deletions scanpipe/templates/scanpipe/project_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
</nav>
<div class="subtitle is-size-6">
<span class="has-text-grey">
<span title="{{ project.created_date|date:'N j, Y, P T' }}">
Created {{ project.created_date|naturaltime }}
<span title="{{ project.created_date|naturaltime }}">
Created {{ project.created_date|date:'Y-m-d H:i' }}
</span>
</span>
{% include 'scanpipe/includes/project_labels.html' with labels=labels only %}
Expand Down

0 comments on commit acb9372

Please sign in to comment.