From e4cdd11c1affe0628c489bf98f2593bdf26013ba Mon Sep 17 00:00:00 2001 From: Mylloon Date: Tue, 17 Sep 2024 20:59:10 +0200 Subject: [PATCH] lowercase reminder times (#63) --- src/utils/time.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/time.ts b/src/utils/time.ts index 95d8728..89b36f9 100644 --- a/src/utils/time.ts +++ b/src/utils/time.ts @@ -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]) => {