Closed MrLeebo closed 5 years ago
Chronic.parse('next friday', now: Date.new(2015, 11)).to_date => Sat, 07 Nov 2015
I expected Fri, 06 Nov 2015. Am I missing something?
Fri, 06 Nov 2015
Sounds like a timezone issue. When setting now you didn't specify a time zone, so I think it defaults to UTC. I bet it returned a date relative to your current time zone.
now
I expected
Fri, 06 Nov 2015
. Am I missing something?