diff --git a/xmpp-parsers/src/date.rs b/xmpp-parsers/src/date.rs index 2edf1e216e6a7951beaef92939707a77ae4544c2..ee3080b9e002b642e73b4db4e98e13bb4a843ec6 100644 --- a/xmpp-parsers/src/date.rs +++ b/xmpp-parsers/src/date.rs @@ -13,7 +13,7 @@ use std::str::FromStr; /// non-recurring moment in time, with an accuracy of seconds or fraction of /// seconds, and includes a timezone. #[derive(Debug, Clone, PartialEq)] -pub struct DateTime(ChronoDateTime); +pub struct DateTime(pub ChronoDateTime); impl DateTime { /// Retrieves the associated timezone.