Skip to content

Commit

Permalink
refactor: show times in sheet entry output
Browse files Browse the repository at this point in the history
  • Loading branch information
f3rno64 committed Dec 19, 2023
1 parent b7320a0 commit 8bfe813
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/print/columns/get_sheet_entry_columns.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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 =
Expand Down

0 comments on commit 8bfe813

Please sign in to comment.