Skip to content

Commit

Permalink
Fix TimeZoneSettings::parse_local
Browse files Browse the repository at this point in the history
  • Loading branch information
x-hgg-x committed Sep 13, 2024
1 parent c44da41 commit 5493aa4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/timezone/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@ impl<'a> TimeZoneSettings<'a> {
///
pub fn parse_local(&self) -> Result<TimeZone, TzError> {
#[cfg(not(unix))]
let local_time_zone = Self::utc();
let local_time_zone = TimeZone::utc();

#[cfg(unix)]
let local_time_zone = self.parse_posix_tz("localtime")?;
Expand Down

0 comments on commit 5493aa4

Please sign in to comment.