fixed timestamp problem in firefox (#12073)
This commit is contained in:
1 parent
ebfb380449
commit
4cb1f93019
1 file changed
+1
-1
@@ -138,7 +138,7 @@ class OpenWeatherMapWeather(WeatherEntity):
|
||||
def forecast(self):
|
||||
"""Return the forecast array."""
|
||||
return [{
|
||||
ATTR_FORECAST_TIME: entry.get_reference_time('iso'),
|
||||
ATTR_FORECAST_TIME: entry.get_reference_time('unix') * 1000,
|
||||
ATTR_FORECAST_TEMP: entry.get_temperature('celsius').get('temp')}
|
||||
for entry in self.forecast_data.get_weathers()]
|
||||
|
||||
|
||||
Reference in new issue
Block a user