formatting
This commit is contained in:
parent
aae02b8e7b
commit
bd60ba6cf3
@ -1950,10 +1950,8 @@ mod tests {
|
|||||||
.unwrap()
|
.unwrap()
|
||||||
.and_local_timezone(chrono::Utc)
|
.and_local_timezone(chrono::Utc)
|
||||||
.unwrap();
|
.unwrap();
|
||||||
let time_provider = CdsTime::from_unix_time_with_u16_days(
|
let time_provider =
|
||||||
&datetime_utc.into(),
|
CdsTime::from_unix_time_with_u16_days(&datetime_utc.into(), SubmillisPrecision::Absent)
|
||||||
SubmillisPrecision::Absent,
|
|
||||||
)
|
|
||||||
.expect("creating provider from unix stamp failed");
|
.expect("creating provider from unix stamp failed");
|
||||||
// https://www.timeanddate.com/date/durationresult.html?d1=01&m1=01&y1=1958&d2=14&m2=01&y2=2023
|
// https://www.timeanddate.com/date/durationresult.html?d1=01&m1=01&y1=1958&d2=14&m2=01&y2=2023
|
||||||
// Leap years need to be accounted for as well.
|
// Leap years need to be accounted for as well.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user