[clang] [clang] replaced the usage of `asctime` with `strftime` (PR #99075)
Yi-Chi Lee via cfe-commits
cfe-commits at lists.llvm.org
Wed Jul 17 07:31:48 PDT 2024
yichi170 wrote:
I submitted a commit that used the original way with error handling and fixed-sized TimeString.
> (an alternative would be to use the C++ interface https://compiler-explorer.com/z/WEqTW341b )
Since I'm not familiar with the issue related to locale, I'm not sure which method is better. If the C++ interface implementation mentioned by @cor3ntin is preferable, I can modify the current implementation.
https://github.com/llvm/llvm-project/pull/99075
More information about the cfe-commits
mailing list