hooktypes: restore support for parsing local times
The %z parsing actually was used in production, but it doesn't just
parse names, but also numerical offsets. Restore the code and add a
test.
The %z parsing actually was used in production, but it doesn't just
parse names, but also numerical offsets. Restore the code and add a
test.