chore: merge dev
to main
#181
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