ClockFace: make `tick` a "ram" function

Should allow clocks to update without waking flash storage if their
`update` runs in "ram" as well.
pull/2046/head
Richard de Boer 2022-06-25 22:04:07 +02:00
parent ba58178ab3
commit fed49792de
No known key found for this signature in database
GPG Key ID: 8721727971871937
1 changed files with 1 additions and 0 deletions

View File

@ -49,6 +49,7 @@ function ClockFace(options) {
}
ClockFace.prototype.tick = function() {
"ram"
const time = new Date();
const now = {
d: `${time.getFullYear()}-${time.getMonth()}-${time.getDate()}`,