debug
This commit is contained in:
parent
1bc77efb2a
commit
4dad223f1b
1 changed files with 0 additions and 2 deletions
|
@ -61,8 +61,6 @@ export const strToSeconds = (time: string) => {
|
||||||
|
|
||||||
let res = 0;
|
let res = 0;
|
||||||
data.forEach((match) => {
|
data.forEach((match) => {
|
||||||
console.log(match.groups);
|
|
||||||
|
|
||||||
Object.entries(match.groups!).forEach(([key, value]) => {
|
Object.entries(match.groups!).forEach(([key, value]) => {
|
||||||
if (value) {
|
if (value) {
|
||||||
res += +value * TimeSecond[key as keyof typeof TimeSecond];
|
res += +value * TimeSecond[key as keyof typeof TimeSecond];
|
||||||
|
|
Loading…
Reference in a new issue