Skip to content

Commit

Permalink
style: fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
hoodie committed Nov 30, 2024
1 parent b267a00 commit e9bc2d4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/date_time.rs
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,9 @@ impl From<DatePerhapsTime> for NaiveDate {
DatePerhapsTime::Date(date) => date,
DatePerhapsTime::DateTime(CalendarDateTime::Floating(date_time)) => date_time.date(),
DatePerhapsTime::DateTime(CalendarDateTime::Utc(date_time)) => date_time.date_naive(),
DatePerhapsTime::DateTime(CalendarDateTime::WithTimezone { date_time, tzid: _ }) => date_time.date(),
DatePerhapsTime::DateTime(CalendarDateTime::WithTimezone { date_time, tzid: _ }) => {
date_time.date()
}
}
}
}
Expand Down

0 comments on commit e9bc2d4

Please sign in to comment.