yyrkoon94 / lovelace-idf-mobilite

Lovelace Card for IDF Mobilité (Bus, Métro, RER)
19 stars 7 forks source link

Bugfix: use current system timezone instead of UTC time #30

Closed wgrs33 closed 3 months ago

wgrs33 commented 3 months ago

I'm not sure how it was working before but I didn't notice that the last update time had incorrect value which is the case now. Perhaps RATP has changed the timezone of its timestamps to UTC.

Anyway we should use getHour() and getMinutes() instead of their UTC substitutes.