mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-12 10:53:51 +00:00
dates are millis
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import { millisToMinutes } from '../dateConfig';
|
||||
import style from './EditableTimer.module.css';
|
||||
|
||||
export default function DelayValue(props) {
|
||||
@@ -5,7 +6,7 @@ export default function DelayValue(props) {
|
||||
const delayed = delay > 0;
|
||||
return (
|
||||
<div className={delayed ? style.delayValue : undefined}>
|
||||
{delayed && <span>{`+ ${delay}`}</span>}
|
||||
{delayed && <span>{`+ ${millisToMinutes(delay)}`}</span>}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user