Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Throw for zzzz (and beyond) in parse_datetime (#11331)
Summary: Pull Request resolved: #11331 This diff throws a user exception for JODA's zzzz (or more) patterns (all equivalent) in Presto's parse_datetime function. JODA does not support parsing time zone long names (specified by the pattern zzzz) so neither should Velox to be consistent. Previously we were treating any number of 'z's as representing a time zone abbreviation in the pattern which is completely wrong. Reviewed By: amitkdutta, pedroerp Differential Revision: D64797504 fbshipit-source-id: 0d361f6439bd8f440a167dedafd39d282f2948a0
- Loading branch information