Revert time_parts_to_time_t refactoring, to move to a separate PR.
Instead, fix the time_t/uint32_t confusion in extended_format_parse
and basic_format_parse separately.