Change #265103
| Category | None |
| Changed by | Daniel Stenberg <daniel@haxx.se> |
| Changed at | Tue 21 Apr 2026 12:43:12 |
| Repository | https://api.github.com/repos/curl/curl |
| Project | curl/curl |
| Branch | bagder/parsedate-refactor |
| Revision | a07079133290cb9f054eaee8ff69fedb79f7ba70 |
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
Changed files
- lib/parsedate.c