We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d172b52 commit 2216f10Copy full SHA for 2216f10
src/components/common/helpers/time.ts
@@ -39,5 +39,5 @@ export function handleUTCTime(ts: string, isRelativeTime = false) {
39
}
40
41
export const getTimeElapsed = (start: Dayjs, now: Dayjs) => {
42
- return getTimeDifference(start?.toISOString(), now?.toISOString())
+ return getTimeDifference({ startTime: start?.toISOString(), endTime: now?.toISOString()})
43
0 commit comments