[libcxx-commits] [PATCH] D138826: [libc++][chrono] Fixes formatter duration.
Aditya Kumar via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Jan 9 13:08:56 PST 2023
hiraditya added inline comments.
================
Comment at: libcxx/include/__chrono/convert_to_tm.h:55
+ } else {
+ uint64_t __sec = chrono::duration_cast<chrono::seconds>(__value).count();
+ __sec %= 24 * 3600;
----------------
nit: tabs
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D138826/new/
https://reviews.llvm.org/D138826
More information about the libcxx-commits
mailing list