lowercase reminder times (#63)
All checks were successful
Lint and Format Check / lint-and-format (pull_request) Successful in 10s

This commit is contained in:
Mylloon 2024-09-17 20:59:10 +02:00
parent 5816864066
commit e4cdd11c1a
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -34,7 +34,7 @@ export const strToSeconds = (time: string) => {
}>[0-9]+(?=[s]?))`, }>[0-9]+(?=[s]?))`,
); );
const data = Object.assign({}, regex.exec(time)?.groups); const data = Object.assign({}, regex.exec(time.toLowerCase())?.groups);
let res = 0; let res = 0;
Object.entries(data).forEach(([key, value]) => { Object.entries(data).forEach(([key, value]) => {