Skip to content

Commit

Permalink
daytime: optional first/last_light
Browse files Browse the repository at this point in the history
  • Loading branch information
jpnurmi committed Jun 8, 2024
1 parent 83b3471 commit bb597a3
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/daytime.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,8 @@ pub struct Results {
pub sunrise: NaiveTime,
#[serde(with = "time_format")]
pub sunset: NaiveTime,
#[serde(with = "time_format")]
pub first_light: NaiveTime,
#[serde(with = "time_format")]
pub last_light: NaiveTime,
pub first_light: Option<String>,
pub last_light: Option<String>,
#[serde(with = "time_format")]
pub dawn: NaiveTime,
#[serde(with = "time_format")]
Expand Down

0 comments on commit bb597a3

Please sign in to comment.