commit | 0b00ddce07ea9b8077cad350437f8c55d781b644 | [log] [tgz] |
---|---|---|
author | Raman Tenneti <rtenneti@google.com> | Thu Mar 11 16:17:50 2021 -0800 |
committer | Copybara-Service <copybara-worker@google.com> | Thu Mar 18 00:20:49 2021 -0700 |
tree | db4d49205abba816d6936e08a0f93525df3f22f9 | |
parent | 379498a801a311283fa02131090e41005bdf2df0 [diff] |
This introduces gmtime to LLVM libc, based on C99/C2X/Single Unix Spec. This change doesn't handle TIMEZONE, tm_isdst and leap seconds. Moved shared code between mktime and gmtime into time_utils.cpp. Reviewed By: sivachandra Differential Revision: https://reviews.llvm.org/D98467 GitOrigin-RevId: eaae52c1fd459f9c0a147361bc3b962238faba5c