|Repo Reference Count|
Casualdate is a Ruby gem that gives you more human-friendly language for time periods. Some examples would be:
- In two days time
- This time next year
The gem does this by taking two
Date objects, and converting them into a boolean value and a number. The boolean represents whether the date is in the future or past, and the number represents the number of days difference. Then, Casualdate will take that info and pass it to a function containing tonnes of language - and return your result.