Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated date format for project view #1514

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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