Skip to content

Commit

Permalink
[libc] update todo with bug link
Browse files Browse the repository at this point in the history
  • Loading branch information
nickdesaulniers committed Jan 7, 2025
1 parent fbd2365 commit 0a58a1c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libc/src/time/mktime.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 +
Expand Down

0 comments on commit 0a58a1c

Please sign in to comment.