summaryrefslogtreecommitdiff
path: root/src/month.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/month.rs')
-rw-r--r--src/month.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/month.rs b/src/month.rs
index ebb95e1..4d988b8 100644
--- a/src/month.rs
+++ b/src/month.rs
@@ -7,7 +7,7 @@ use self::Month::*;
use core::str::FromStr;
/// Months of the year
-#[derive(Copy, Clone, Eq, PartialEq, Hash, Debug, Display)]
+#[derive(Copy, Clone, Eq, PartialEq, Hash, Debug, Display, PartialOrd, Ord)]
#[repr(u8)]
pub enum Month {
January = 1,