Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix datetime parsing for half day when hour is not specified (#8349)
Summary: In both Spark and Presto, half day specifier (AM or PM) takes effect even when hour is not specified. For example, parsing ("2018-04-28 59:30PM", "yyyy-MM-dd mm:ss a") returns the timestamp of 2018-04-28 12:59:30, but Velox returns 2018-04-28 00:59:30, which has 12-hour difference. Pull Request resolved: #8349 Reviewed By: xiaoxmeng Differential Revision: D52693228 Pulled By: mbasmanova fbshipit-source-id: 9454e4a95d64e095ed55bdece6af307029c02bf8
- Loading branch information