1 2 3 4 5 6
// a placeholder type for when timezones are not enabled #[cfg(not(feature = "timezones"))] #[derive(Copy, Clone)] pub enum Tz {} #[cfg(feature = "timezones")] pub use chrono_tz::Tz;