error fix
This commit is contained in:
parent
d3b8b2e12a
commit
77189e9e3c
|
@ -25,8 +25,8 @@ impl Kilosecond {
|
||||||
Self(days * 24 * 60 * 60 * 1000)
|
Self(days * 24 * 60 * 60 * 1000)
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn s(&self) -> u16 {
|
pub fn s(&self) -> u32 {
|
||||||
self.0 % 1000
|
(self.0 % 1000)
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn k(&self) -> u32 {
|
pub fn k(&self) -> u32 {
|
||||||
|
|
Loading…
Reference in a new issue