Skip to content

Commit

Permalink
Merge pull request #83 from NidhiHemanth/main
Browse files Browse the repository at this point in the history
  • Loading branch information
ohadravid authored Jun 11, 2023
2 parents 0e27d0e + bebdc1f commit 1b35322
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/datetime.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use serde::{de, ser};
use std::{fmt, str::FromStr};

/// A wrapper type around `chrono`'s `DateTime` (if the `chrono` feature is active. ), which supports parsing from WMI-format strings.
#[derive(Debug, Copy, Clone, Ord, PartialOrd, Eq, PartialEq)]
#[derive(Debug, Copy, Clone, Ord, PartialOrd, Eq, PartialEq, Hash)]
pub struct WMIDateTime(pub DateTime<FixedOffset>);

impl FromStr for WMIDateTime {
Expand Down

0 comments on commit 1b35322

Please sign in to comment.