Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use Date::parseDate() to parse date only string.
DateFormatTrait::parseDate() by default uses format stored in $wordFormat for parsing date string. Value of Time::$wordFormat differs from Date::$wordFormat hence using the former to parse date strings results in incorrect date in the generated object.
- Loading branch information