Commit 0b5acb5
committed
fix another chrono deprecation by removing used fn
https://github.com/chronotope/chrono/releases/tag/v0.4.29:
fixed by removing:
warning: use of deprecated method `chrono::TimeZone::datetime_from_str`: use `DateTime::parse_from_str` instead
--> database\src\lib.rs:57:33
|
57 | Err(_) => match Utc.datetime_from_str(date, format) {
| ^^^^^^^^^^^^^^^^^1 parent 6051780 commit 0b5acb5
1 file changed
+1
-21
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | 54 | | |
69 | 55 | | |
70 | 56 | | |
71 | 57 | | |
72 | 58 | | |
73 | 59 | | |
74 | 60 | | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | 61 | | |
82 | 62 | | |
83 | 63 | | |
| |||
0 commit comments