status timezone sync

This commit is contained in:
Tim
2024-04-23 22:16:01 -04:00
parent e74c7320a0
commit b681fb5324
6 changed files with 34 additions and 27 deletions

View File

@@ -98,7 +98,7 @@ const absoluteTimes = computed(()=>{
})
const dateStrings = computed(()=>absoluteTimes.value.map((t)=>{
const n = DateTime.fromMillis(1000*t).setZone(s.timeZone)
const n = DateTime.fromSeconds(t).setZone(s.timeZone)
const y = n.toLocaleString({year:'numeric'})
const m = n.toLocaleString({month:'long'})
const d = n.toLocaleString({day:'numeric'})

View File

@@ -244,7 +244,6 @@ function createInteriorShape(index) {
interiorShapes.push(shape)
}
function removeInteriorShape() {
if (interiorShapes.length) {
const shape = interiorShapes.pop()