Closed eeng closed 5 years ago
There defined behaviour to default values for a date at the moment. I guess there could be.
Are you assuming a 1 for day?
So the solution to this is remove the format
Timeliness.parse('Jan09', format: 'mmmyy')
The day that is used will be taken from the configured date default values in
Timeliness.configuration.date_for_time_type
where the default is lambda { Time.now }
The specifying the format prevents the default values being used in the current gem logic.