Change #265114
| Category | None |
| Changed by | Daniel Stenberg <daniel@haxx.se> |
| Changed at | Tue 21 Apr 2026 14:22:07 |
| Repository | https://api.github.com/repos/curl/curl |
| Project | curl/curl |
| Branch | master |
| Revision | 2e3607034dcbbc97aa587d878b866a2af6b99c99 |
Comments
parsedate: refactor - introduce 'struct when' to hold the parser result - initwhen() initializes a 'struct when' - datestring() parses strings - datenum() parses numbers - datecheck() does some final checks - tzadjust() adds the time zone offset - convert math to 64 bit, squeeze into time_t only in the last step, mktimet() does the time_t storing Closes #21394
Changed files
- lib/parsedate.c
- tests/libtest/lib517.c