mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
Update timespan.rs
This commit is contained in:
parent
d7070d8195
commit
9eabb056b4
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ const MINUTE: f32 = 60.0 * SECOND;
|
|||
const HOUR: f32 = 60.0 * MINUTE;
|
||||
const DAY: f32 = 24.0 * HOUR;
|
||||
const YEAR: f32 = 365.0 * DAY;
|
||||
const MONTH: f32 = YEAR / 12;
|
||||
const MONTH: f32 = YEAR / 12.0;
|
||||
|
||||
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord)]
|
||||
pub(crate) enum TimespanUnit {
|
||||
|
|
Loading…
Reference in a new issue