mirror of https://github.com/01-edu/public.git
docs(middle-day): update deprecated method
This commit is contained in:
parent
5832f09413
commit
1bc3b5d6dd
|
@ -18,8 +18,6 @@ Here is a program to test your function:
|
|||
use middle_day::*;
|
||||
|
||||
fn main() {
|
||||
let date = Utc.ymd(2011, 12, 2).and_hms(21, 12, 09);
|
||||
|
||||
println!("{:?}", middle_day(1022).unwrap());
|
||||
}
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue