aboutsummaryrefslogtreecommitdiff
path: root/src/lib/server/services/validation.ts
diff options
context:
space:
mode:
authorMartin Kagamino Lehoux <martin@lehoux.net>2026-09-25 09:10:31 +0200
committerMartin Kagamino Lehoux <martin@lehoux.net>2026-09-25 09:10:31 +0200
commit760a61001edafb462ca9c7f5bc8013f31fb15a5c (patch)
tree50f906de9ddaefb7362d444937f7ff4177ee2a7a /src/lib/server/services/validation.ts
parente5e1482b1f5aea4a50de44801c81c81750042201 (diff)
Compress comments to terse single lines within line width
Diffstat (limited to 'src/lib/server/services/validation.ts')
-rw-r--r--src/lib/server/services/validation.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/server/services/validation.ts b/src/lib/server/services/validation.ts
index 69820ea..b0a515c 100644
--- a/src/lib/server/services/validation.ts
+++ b/src/lib/server/services/validation.ts
@@ -45,7 +45,7 @@ export function parseOptionalNumber(
return n;
}
-/** Parses an interval like '2w' into days; throws when the format is invalid. */
+/** Parses an interval like '2w' into days; throws on invalid format. */
export function parseFrequencyDays(value: FormDataEntryValue | null): number {
const days = parseIntervalToDays(value?.toString() ?? '');
if (days === null) {