-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sinex: deprecated calls #60
Labels
enhancement
New feature provided
Comments
We should replace This crate only uses Parsing from a string: Self {
[...]
date: parse_datetime(content.trim())?
}
fn parse_datetime(content: &str) -> Result<chrono::NaiveDatetime [...] becomes something like this fn parse_datetime(content: &str) -> Result<Epoch, [...]
let duration = Duration::from_hours(h)
+ Duration::from_minutes(m)
+ Duration::from_seconds(s)
+ [...] ;
Epoch::from_duration(duration, TimeScale::UTC) |
Ah yes, replacing with HiFiTime will fix it anyway. |
but that still remains to be done 😄 because this is a seperate crate |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
With chrono 0.4.23 some functions are deprecated: chronotope/chrono#827
The text was updated successfully, but these errors were encountered: