mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 06:22:22 -04:00
Update timespan.rs
This commit is contained in:
parent
83bd533580
commit
109b6c5647
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ const DAY: f32 = 24.0 * HOUR;
|
|||
const MONTH: f32 = 30.417 * DAY; // 365/12 ≈ 30.417
|
||||
const YEAR: f32 = 365.0 * DAY;
|
||||
|
||||
#[derive(Clone, Copy)]
|
||||
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord)]
|
||||
pub(crate) enum TimespanUnit {
|
||||
Seconds,
|
||||
Minutes,
|
||||
|
|
Loading…
Reference in a new issue