Fixed timezone directive handling

Fixed a typo that were preventing %z directives from being correctly recognized, and the parser should no longer mistake strings like %m-%Y for %m%z.