[libc-commits] [libc] 0a58a1c - [libc] update todo with bug link
Nick Desaulniers via libc-commits
libc-commits at lists.llvm.org
Tue Jan 7 08:55:22 PST 2025
Author: Nick Desaulniers
Date: 2025-01-07T08:55:14-08:00
New Revision: 0a58a1c9a26d4fdfeaebfbcd0891bf2a844ee838
URL: https://github.com/llvm/llvm-project/commit/0a58a1c9a26d4fdfeaebfbcd0891bf2a844ee838
DIFF: https://github.com/llvm/llvm-project/commit/0a58a1c9a26d4fdfeaebfbcd0891bf2a844ee838.diff
LOG: [libc] update todo with bug link
Added:
Modified:
libc/src/time/mktime.cpp
Removed:
################################################################################
diff --git a/libc/src/time/mktime.cpp b/libc/src/time/mktime.cpp
index 72cd229120538d..b5d1da5fa8fba1 100644
--- a/libc/src/time/mktime.cpp
+++ b/libc/src/time/mktime.cpp
@@ -106,7 +106,8 @@ LLVM_LIBC_FUNCTION(time_t, mktime, (struct tm * tm_out)) {
}
}
- // TODO(rtenneti): Need to handle timezone and update of tm_isdst.
+ // TODO: https://github.com/llvm/llvm-project/issues/121962
+ // Need to handle timezone and update of tm_isdst.
int64_t seconds = tm_out->tm_sec +
tm_out->tm_min * TimeConstants::SECONDS_PER_MIN +
tm_out->tm_hour * TimeConstants::SECONDS_PER_HOUR +
More information about the libc-commits
mailing list