yyrkoon94 / lovelace-idf-mobilite

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

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

Closed wgrs33 closed 8 months ago

wgrs33 commented 8 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.