no method named `add_sub_sec` found for struct `DateTime` in the current scope
--> /Users/jiashiwen/.cargo/registry/src/github.com-1ecc6299db9ec823/fast_log-1.5.51/src/formats.rs:25:59
|
25 | fastdate::DateTime::from(arg.now).add_sub_sec(fastdate::offset_sec() as i64)
| ^^^^^^^^^^^ method not found in `DateTime`
error[E0599]: no method named `add_sub_sec` found for struct `DateTime` in the current scope
--> /Users/jiashiwen/.cargo/registry/src/github.com-1ecc6299db9ec823/fast_log-1.5.51/src/formats.rs:84:59
|
84 | fastdate::DateTime::from(arg.now).add_sub_sec(fastdate::offset_sec() as i64)
| ^^^^^^^^^^^ method not found in `DateTime`
For more information about this error, try `rustc --explain E0599`.
1.5.51 版本 add_sub_sec 方法缺失,是不是DateTime升级了没跟进呢?