Fix timeline pins not appearing

This commit is contained in:
2026-05-03 02:50:55 -04:00
parent 73a4c5e49e
commit 59ae71ecec

View File

@@ -30,7 +30,7 @@ Pebble.addEventListener("appmessage", function (dict) {
if (dict.payload["PKJS_PIN_TIMESTAMP"] && dict.payload["PKJS_PIN_TITLE"]) {
var pin = {
id: dict.payload["PKJS_PIN_TIMESTAMP"],
id: dict.payload["PKJS_PIN_TIMESTAMP"].toString(),
time: new Date(dict.payload["PKJS_PIN_TIMESTAMP"] * 1000).toISOString(),
layout: {
type: "genericPin",