Skip to content

Commit d9a13ec

Browse files
committed
Some general cleanup of the current rework
1 parent 9b1a9b1 commit d9a13ec

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ pub mod primitive;
279279
pub mod provider;
280280

281281
#[cfg(feature = "sys")]
282-
pub(crate) mod sys;
282+
pub mod sys;
283283

284284
mod builtins;
285285

@@ -306,7 +306,7 @@ pub use error::TemporalError;
306306

307307
#[cfg(feature = "sys")]
308308
#[doc(inline)]
309-
pub use sys::{DefaultHostSystem, Temporal};
309+
pub use sys::Temporal;
310310

311311
pub mod partial {
312312
//! Partial date and time component records

src/sys.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ impl HostTimeZone for UtcHostSystem {
7474
&self,
7575
provider: &impl timezone_provider::provider::TimeZoneProvider,
7676
) -> TemporalResult<TimeZone> {
77-
get_system_timezone(provider)
77+
Ok(TimeZone::utc_with_provider(provider))
7878
}
7979
}
8080

0 commit comments

Comments
 (0)