lowercase reminder times (#63)
All checks were successful
Lint and Format Check / lint-and-format (pull_request) Successful in 10s
All checks were successful
Lint and Format Check / lint-and-format (pull_request) Successful in 10s
This commit is contained in:
parent
5816864066
commit
e4cdd11c1a
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ export const strToSeconds = (time: string) => {
|
|||
}>[0-9]+(?=[s]?))`,
|
||||
);
|
||||
|
||||
const data = Object.assign({}, regex.exec(time)?.groups);
|
||||
const data = Object.assign({}, regex.exec(time.toLowerCase())?.groups);
|
||||
|
||||
let res = 0;
|
||||
Object.entries(data).forEach(([key, value]) => {
|
||||
|
|
Loading…
Reference in a new issue