ClockFace: make `tick` a "ram" function
Should allow clocks to update without waking flash storage if their `update` runs in "ram" as well.master
parent
ba58178ab3
commit
fed49792de
|
|
@ -49,6 +49,7 @@ function ClockFace(options) {
|
||||||
}
|
}
|
||||||
|
|
||||||
ClockFace.prototype.tick = function() {
|
ClockFace.prototype.tick = function() {
|
||||||
|
"ram"
|
||||||
const time = new Date();
|
const time = new Date();
|
||||||
const now = {
|
const now = {
|
||||||
d: `${time.getFullYear()}-${time.getMonth()}-${time.getDate()}`,
|
d: `${time.getFullYear()}-${time.getMonth()}-${time.getDate()}`,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue