We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f37c7f7 + 4df9935 commit 427644bCopy full SHA for 427644b
1 file changed
googlefindmy-card.js
@@ -1602,7 +1602,7 @@ class GoogleFindMyCard extends LitElement {
1602
}
1603
1604
// Create popup matching Map View
1605
- const timestamp = new Date(loc.timestamp).toLocaleString();
+ const timestamp = new Date(loc.timestamp * 1000).toLocaleString();
1606
const popupContent = `
1607
<div style="min-width: 200px;">
1608
<b>Location ${index + 1}</b><br>
@@ -2067,4 +2067,4 @@ console.info(
2067
`%c GOOGLE-FINDMY-CARD %c Version 1.1.0 `,
2068
'color: white; font-weight: bold; background: #1a73e8',
2069
'color: #1a73e8; font-weight: bold; background: #f0f0f0'
2070
-);
+);
0 commit comments