mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-14 11:12:16 +01:00
Enable npm workspaces and update dependencies
This commit is contained in:
@@ -41,8 +41,8 @@ function updateDuration() {
|
||||
const results = parseHHMM(temporaryCustomTimerEntry.value);
|
||||
if (results) {
|
||||
const newStartDate = getDayJsInstance()(end.value)
|
||||
.subtract(parseInt(results[1]), 'h')
|
||||
.subtract(parseInt(results[2]), 'm');
|
||||
.subtract(parseInt(results[1]!), 'h')
|
||||
.subtract(parseInt(results[2]!), 'm');
|
||||
start.value = newStartDate.utc().format();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user