User avatar
ava@soon39c3:~cursor_blinkingverifiedlesbian @star@amazonawaws.com
1mo
From the chrono docs:
Errors
Returns None on out-of-range number of seconds and/or invalid nanosecond, otherwise returns Some(DateTime {...}).
Wow!! If only Rust had a Result<T, E> type to represent actions that can either succeeed or fail with an error E! Thanks, chrono!!!