Please sign in to comment.
Only take the date parts from Time.zone.now
When there are missing components in the Hash returned by Date._parse only the date components should default to the value of Time.zone.now, the time components should all default to zero.
- Loading branch information...
Showing with 10 additions and 3 deletions.