I have a
DateTime `object from which I want to subtract one second.
dt is a
DateTime I have been doing:
let dt = dt.sub(Duration::seconds(1)
I get the error: error[E0599]: no method named
sub found for type
chrono::DateTime<chrono::Local> in the current scope
At https://docs.rs/chrono/0.4.0/chrono/struct.DateTime.html#method.sub there is the method.
I am perplexed