This commit is contained in:
Mathijs van de Nes 2015-06-30 09:42:41 +02:00
parent 6e6229479b
commit 21b21ad9e6

View file

@ -23,7 +23,7 @@ pub fn msdos_datetime_to_tm(time: u16, date: u16) -> Tm
};
// Re-parse the possibly incorrect timestamp to get a correct one.
// This every value will be in range
// This ensures every value will be in range
time::at_utc(tm.to_timespec())
}