Commit a55ac19
committed
Replace fmt::localtime with localtime_r
fmt::localtime was deprecated in fmt 11.2.0 and removed in fmt 12.0.0.
Replace with localtime_r, which is what fmt::localtime was implemented
with internally. The new implementation maintains identical behavior by
throwing a fmt::format_error exception when localtime_r() fails,
matching the original fmt::localtime() behavior.
See: https://github.com/fmtlib/fmt/releases/tag/12.0.0
Signed-off-by: Kefu Chai <tchaikov@gmail.com>1 parent 6ce2bc0 commit a55ac19
1 file changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
32 | 36 | | |
33 | 37 | | |
34 | 38 | | |
| |||
0 commit comments