Skip to content

Commit

Permalink
patch 1.1
Browse files Browse the repository at this point in the history
fixed dew point being in celcius
fixed days being wrong i think
  • Loading branch information
The-Genius001 committed Feb 2, 2024
1 parent 4760f3e commit d05fbe0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion detailedRain.html
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ <h1 class="rain-text07">
.then((data) => {
const hour=new Date(data.properties.updated);
hour.setHours(hour.getHours()+i);
let day = days[hour.getDay()+1];
let day = days[hour.getDay()];
document.getElementById("Tittle").innerHTML = day;
if(hour.getHours()>12){
//document.getElementById("hour"+i).innerHTML = hour.getHours()-12+":00";
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -716,7 +716,7 @@ <h2 id="day 4" class="home-text23">Day</h2>
dew = data.properties.periods[0].dewpoint.value;
console.log(name);
console.log(df);
document.getElementById("dew").innerHTML = dew;
document.getElementById("dew").innerHTML = dew*1.8+32;
document.getElementById("per").innerHTML = per;
document.getElementById("winds").innerHTML = winds;
document.getElementById("windd").innerHTML = windd;
Expand Down

0 comments on commit d05fbe0

Please sign in to comment.