Skip to content

Commit 92149d0

Browse files
committed
fix: use consistent datetime formatting
Signed-off-by: Keshav Priyadarshi <git@keshav.space>
1 parent 427ce5e commit 92149d0

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

‎vulnerabilities/templates/pipeline_dashboard.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ <h1>Pipeline Dashboard</h1>
161161
</div>
162162
<div class="column has-text-grey" style="flex: 0 0 18%;">
163163
{% if schedule.latest_run_end_date %}
164-
{{ schedule.latest_run_end_date|date:"Y-m-d h:i a T" }}
164+
{{ schedule.latest_run_end_date|date:"Y-m-d h:i A T" }}
165165
{% else %}
166166
N/A
167167
{% endif %}

‎vulnerabilities/templates/pipeline_run_details.html‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ <h1 class="title">{{ pipeline_name }} Run Log</h1>
7979
<p class="is-size-7 has-text-weight-semibold">Start</p>
8080
<p class="has-text-grey is-size-7">
8181
{% if run.run_start_date %}
82-
{{ run.run_start_date|date:"Y-m-d h:i a T" }}
82+
{{ run.run_start_date|date:"Y-m-d h:i A T" }}
8383
{% else %}
8484
N/A
8585
{% endif %}
@@ -89,15 +89,15 @@ <h1 class="title">{{ pipeline_name }} Run Log</h1>
8989
<p class="is-size-7 has-text-weight-semibold">End</p>
9090
<p class="has-text-grey is-size-7">
9191
{% if run.run_end_date %}
92-
{{ run.run_end_date|date:"Y-m-d h:i a T" }}
92+
{{ run.run_end_date|date:"Y-m-d h:i A T" }}
9393
{% else %}
9494
N/A
9595
{% endif %}
9696
</p>
9797
</div>
9898
<div class="column is-one-fifth-desktop is-one-quarter-tablet is-half-mobile">
9999
<p class="is-size-7 has-text-weight-semibold">Created</p>
100-
<p class="has-text-grey is-size-7">{{ run.created_date|date:"Y-m-d h:i a T" }}</p>
100+
<p class="has-text-grey is-size-7">{{ run.created_date|date:"Y-m-d h:i A T" }}</p>
101101
</div>
102102
<div class="column is-one-fifth-desktop is-one-quarter-tablet is-half-mobile">
103103
<p class="is-size-7 has-text-weight-semibold">Version</p>

‎vulnerabilities/templates/pipeline_run_list.html‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,14 +95,14 @@ <h1>{{ pipeline_name }} Runs</h1>
9595
</div>
9696
<div class="column is-one-fifth has-text-grey">
9797
{% if run.run_start_date %}
98-
{{ run.run_start_date|date:"Y-m-d h:i a T" }}
98+
{{ run.run_start_date|date:"Y-m-d h:i A T" }}
9999
{% else %}
100100
N/A
101101
{% endif %}
102102
</div>
103103
<div class="column is-one-fifth has-text-grey">
104104
{% if run.run_end_date %}
105-
{{ run.run_end_date|date:"Y-m-d h:i a T" }}
105+
{{ run.run_end_date|date:"Y-m-d h:i A T" }}
106106
{% else %}
107107
N/A
108108
{% endif %}

0 commit comments

Comments
 (0)