Skip to content

Commit

Permalink
1.4.5 updated
Browse files Browse the repository at this point in the history
  • Loading branch information
openstone1 committed Aug 20, 2024
1 parent ef64a87 commit bc25ea7
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions app/src/main/assets/app/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -1530,12 +1530,9 @@ function display24HourForecast(forecastData) {
const timestamp = new Date(forecast.dt * 1000);
let time;

if (i === 0) {
time = "Now";
} else {
time = timestamp.toLocaleTimeString('en-US', { hour: 'numeric', hour12: true });
time = time.replace('AM', ' AM').replace('PM', ' PM');
}




Expand Down

0 comments on commit bc25ea7

Please sign in to comment.