Skip to content

Commit

Permalink
feat: update title depending on ISO/relative
Browse files Browse the repository at this point in the history
Signed-off-by: Adrien Delannoy <[email protected]>
  • Loading branch information
Adrien-D committed Aug 21, 2024
1 parent d3cea28 commit f02c44b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/app/shared/components/timestamp.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export function Timestamp({date, timestampKey, displayLocalDateTime, displayISOF

export function TimestampSwitch({storedDisplayISOFormat, setStoredDisplayISOFormat}: {storedDisplayISOFormat: boolean; setStoredDisplayISOFormat: (value: boolean) => void}) {
return (
<Tooltip content='Switch time format'>
<Tooltip content={storedDisplayISOFormat ? 'Switch to relative time format' : 'Switch to ISO time format'}>
<a>
<i
className={'fa fa-clock'}
Expand Down

0 comments on commit f02c44b

Please sign in to comment.