From 8bfe8138dedb39651ecfef9ab310a7c1394b4af5 Mon Sep 17 00:00:00 2001 From: Cris Mihalache Date: Tue, 19 Dec 2023 02:08:39 +0200 Subject: [PATCH] refactor: show times in sheet entry output --- src/print/columns/get_sheet_entry_columns.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/print/columns/get_sheet_entry_columns.ts b/src/print/columns/get_sheet_entry_columns.ts index 78ee41d..5d1b7c7 100644 --- a/src/print/columns/get_sheet_entry_columns.ts +++ b/src/print/columns/get_sheet_entry_columns.ts @@ -17,7 +17,7 @@ const getSheetEntryColumns = ( const { id, start, end, description } = entry const idUI = C.clID(`${id}`) const startUI = C.clDate( - printDateAgo ? ago(start) : new Date(start).toLocaleDateString() + printDateAgo ? ago(start) : new Date(start).toLocaleString() ) const finalEnd = end === null ? new Date() : end const descriptionUI = C.clText(description) @@ -31,7 +31,7 @@ const getSheetEntryColumns = ( end === null ? '' : C.clDate( - printDateAgo ? ago(end) : new Date(end).toLocaleDateString() + printDateAgo ? ago(end) : new Date(end).toLocaleString() ) const sheetNamePrefix =