This repository has been archived by the owner on Jun 21, 2018. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
make parse_date only work on Strings
If the argument is not a String, the argument is returned. Without this check, it was not possible any more to assign i.e. Time.now to an attribute which has been calendar_date_attribute'ed. With this check, only Strings are parsed, the rest is passed though.
- Loading branch information