From 0a8eb848ef53b41692789b1e9982943890e83bf0 Mon Sep 17 00:00:00 2001 From: Zynh0722 Date: Sun, 5 Nov 2023 10:17:30 -0800 Subject: [PATCH] date format change in shift reports --- templates/shift_reports.rs.html | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/templates/shift_reports.rs.html b/templates/shift_reports.rs.html index 412734d..e21a2f9 100644 --- a/templates/shift_reports.rs.html +++ b/templates/shift_reports.rs.html @@ -28,17 +28,19 @@ @shift.id - @shift.start.format("%Y-%m-%d %H:%M:%S") + @shift.start.format("%A, %b %m - %H:%M") @if let Some(end) = shift.end { - @end.format("%Y-%m-%d %H:%M:%S") + @end.format("%A, %b %m - %H:%M") } else { Currently Open } - +