[issue25634] accept more/all ISO8601 formats, add tests for several of the Local* times and fix various bugs