memoryd: the day and the month of a time with get, never a slice

Implemented-By: OpenCode session (model recorded in docs/implementer-log.md)
This commit is contained in:
2026-09-25 16:41:44 -07:00
parent 1adce5c9df
commit b98f373ead
5 changed files with 6 additions and 10 deletions
+1 -1
View File
@@ -100,7 +100,7 @@ pub fn submit(
// accepted")).
args.check()?;
let rfc = ctx.now.to_rfc3339();
let day = &rfc[..10];
let day = rfc.get(..10).unwrap_or("0000-00-00");
let taken = waiting(store)?
.iter()
.filter(|line| match line {