mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-16 21:03:29 +00:00
dates are millis
This commit is contained in:
@@ -36,13 +36,13 @@ export default function DefaultPresenter() {
|
||||
|
||||
const timer = differenceInSeconds(
|
||||
now,
|
||||
subMinutes(clockStarted, values.timerDuration)
|
||||
subMinutes(clockStarted, values.duration)
|
||||
);
|
||||
|
||||
const timeStart = format(values.timeStart, 'HH:mm');
|
||||
const currentTime = format(now, 'HH:mm');
|
||||
const timeEnd = format(values.timeEnd, 'HH:mm');
|
||||
const elapsed = timer / (values.timerDuration * 60);
|
||||
const elapsed = timer / (values.duration * 60);
|
||||
|
||||
return (
|
||||
<div className='presenter'>
|
||||
|
||||
Reference in New Issue
Block a user