refactor to smaller builder methods

This commit is contained in:
2023-12-02 17:06:05 +01:00
parent d0222b007f
commit b98513e6f3
3 changed files with 48 additions and 45 deletions
+1
View File
@@ -1,5 +1,6 @@
export default class Day {
static date = new Date() // maybe easier to offset time zone later
static names = ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday']
static update() {
Day.date = new Date()