diff --git a/pages/index.js b/pages/index.js index 22babf9..c0e1e8b 100644 --- a/pages/index.js +++ b/pages/index.js @@ -55,11 +55,7 @@ export default function Home() { return time; }; - // console.log( - // new Date(weatherData.dt * 1000).toISOString().match(/(\d{2}:\d{2}:\d{2})/) - // ); - - console.log(convertTime(weatherData.dt, weatherData.timezone)); + // console.log(convertTime(weatherData.dt, weatherData.timezone)); return (
Feels like {Math.round(weatherData.main.feels_like)}°
-- {new Date( - weatherData.dt * 1000 + weatherData.timezone * 1000 - ).toLocaleString("en-US")} -
+