Feels like <%= data.current.feels_like_f %>°F
<%= data.current.sky %> <%= data.current.sky %>
Chance of Precipitation <%= data.hourly[0].precip_chance %>%
<% if ( moment().tz(data.tz).format("H") < 15 ) { %>
Today
<%= data.daily[0].sky_text_day %> <%= data.daily[0].high_f %>°F
Chance of Precipitation <%= data.daily[0].precip_chance_day %>%
Tonight
<%= data.daily[0].sky_text_night %> <%= data.daily[0].low_f %>°F
Chance of Precipitation <%= data.daily[0].precip_chance_night %>%
Tomorrow
<%= data.daily[1].sky_text_day %> <%= data.daily[1].high_f %>°F
Chance of Precipitation <%= data.daily[1].precip_chance_day %>%
<% } else { %>
Tonight
<%= data.daily[0].sky_text_night %> <%= data.daily[0].low_f %>°F
Chance of Precipitation <%= data.daily[0].precip_chance_night %>%
Tomorrow
<%= data.daily[1].sky_text_day %> <%= data.daily[1].high_f %>°F
Chance of Precipitation <%= data.daily[1].precip_chance_day %>%
Tomorrow Night
<%= data.daily[1].sky_text_night %> <%= data.daily[1].low_f %>°F
Chance of Precipitation <%= data.daily[1].precip_chance_night %>%
<% } %>
<%
var transform = function( value ) {
var matches = /([1-2]?[0-9]:[0-9]{2}):[0-9]{2} (am|pm)/.exec( value );
return matches.length === 3 ? matches[ 1 ] + " " + matches[ 2 ] : "";
}
var sunrise = transform( data.daily[0].sunrise );
var sunset = transform( data.daily[0].sunset );
%>
Wind
<%= data.current.wind_dir_card %> <%= data.current.wind_speed_mph %> mph
Humidity
<%= data.current.rel_humidity %>%
Record High
<%= data.historical.record_high_f %>°F
Record Low
<%= data.historical.record_low_f %>°F
<%= hour.sky_medium %>
<%= hour.temp_f %>°F
Feels like
<%= hour.feels_like_f %>°F
Chance of
precip
<%= hour.precip_chance %>%
<% } ) %>
<% if ( day.day_offset > 0 || moment().tz(timezone).format("H") < 15 ) { %>
High <%= day.high_f %>°F
<% } %>
Get Sacramento news and weather from KCRA 3 and KQCA My58. Watch live weekdays at 4am, 4:30am, 5am, 5:30am, 6am, 7am, 8am, 9am, 12pm, 4pm, 5pm, 6pm, 6:30pm, 7pm, 10pm and 11pm. Watch live weekends at 7am, 5pm, 5:30pm, 6pm, 10pm and 11pm.
If you have clicked between live broadcasts, you will see our most-recent newscast on demand.