diff options
| author | Markus Pettersson <markus.pettersson@mullvad.net> | 2023-06-21 15:05:33 +0200 |
|---|---|---|
| committer | Emīls <emils@mullvad.net> | 2023-06-27 16:01:48 +0200 |
| commit | 7747e2e5bb755fa50d7b56ed8d9c63647e2ff112 (patch) | |
| tree | 9af341e8c9db2c74995d986c1eec1bbe4738215d /android/src | |
| parent | a82fd53421b867a877c1d878368e99999e163aaa (diff) | |
| download | mullvadvpn-7747e2e5bb755fa50d7b56ed8d9c63647e2ff112.tar.xz mullvadvpn-7747e2e5bb755fa50d7b56ed8d9c63647e2ff112.zip | |
Refactor use of deprecated `chrono` timestamp function
Since `chrono 0.4.23`, the use of
`chrono::NaiveDateTime::from_timestamp` is deprecated in favor of
`chrono::NaiveDateTime::from_timestamp_opt`, which returns an `Option`
instead of panicking if number of seconds is out of range.
Diffstat (limited to 'android/src')
0 files changed, 0 insertions, 0 deletions
