Make date::DateTime inner chrono::DateTime public
This commit is contained in:
parent
c25e87b04f
commit
3a73ce3fd4
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,7 @@ use std::str::FromStr;
|
||||||
/// non-recurring moment in time, with an accuracy of seconds or fraction of
|
/// non-recurring moment in time, with an accuracy of seconds or fraction of
|
||||||
/// seconds, and includes a timezone.
|
/// seconds, and includes a timezone.
|
||||||
#[derive(Debug, Clone, PartialEq)]
|
#[derive(Debug, Clone, PartialEq)]
|
||||||
pub struct DateTime(ChronoDateTime<FixedOffset>);
|
pub struct DateTime(pub ChronoDateTime<FixedOffset>);
|
||||||
|
|
||||||
impl DateTime {
|
impl DateTime {
|
||||||
/// Retrieves the associated timezone.
|
/// Retrieves the associated timezone.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue