Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: replace asctime with
strftime
for safer date formatting (#3658)
Replaced the use of the obsolete `asctime` with `strftime` to ensure thread safety and provide better control over date formatting. `asctime` uses a static internal buffer, which can lead to issues in multi-threaded environments, while `strftime` allows for custom formats and avoids these problems.
- Loading branch information