summaryrefslogtreecommitdiff
path: root/status/04-date.go
AgeCommit message (Collapse)Author
2026-06-03Alter sleep behaviour for date()HEADmasterHayden Hamilton
// Previously this status would sleep all the way until the next day. // This worked fine until the device entered sleep/hibernation // // Therefore a limit was added. Not the ideal solution, // as if the device is woken within config.MaxSleep, // then the date will not update until some extra time has elapsed. // // TODO: a better solution if (until > config.MaxSleep) { until = config.MaxSleep } time.Sleep(until)
2026-06-03date+time status blocks have existed for a long time, but forgot to commitHayden Hamilton