Skip to content

Commit

Permalink
Update hasl-departure-card.js
Browse files Browse the repository at this point in the history
Fixes #30, Fixes #23
  • Loading branch information
DSorlov committed Jun 12, 2023
1 parent 5f6a0e7 commit 320cd31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dist/hasl-departure-card.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class HASLDepartureCard extends HTMLElement {
}
else {
var minutesSinceUpdate = 0;
var updatedDate = new Date(entity_data.last_refresh);
var updatedDate = new Date(entity_data.last_updated);
var updatedValue = '';
try {
updatedValue = updatedDate.toLocaleString(culture);
Expand Down

0 comments on commit 320cd31

Please sign in to comment.