Shopify/active_shipping — pull request #36 by jduff (2011-11-08 20:36:36+00:00)
Title: Stricter parsing of delivery dates

Canada post is returning some far in the future delivery dates as "1 to 3 months" instead of a timestamp.

```
DateTime.parse("1 to 3 months").to_s
=> "2011-11-07T00:00:00+00:00"
```

That's pretty odd. Digging deeper `parse` tries a number of strategies to try and parse the date correctly, this string is triggering "mon" which returns the date for monday of this week. This change makes delivery date parsing stricter so we don't end up with completely wrong dates. If we want to handle the "1 to 3 months" case for Canada Post in the future we can override `date_for`.

@odorcicd @jstorimer for review