Closed axelson closed 7 months ago
Extends Machete.ISO8601DateTimeMatcher to support ISO8601 timestamps without a timezone (such as those that NaiveDateTime.to_iso8601/1 creates.
Machete.ISO8601DateTimeMatcher
NaiveDateTime.to_iso8601/1
Fixes https://github.com/mtrudel/machete/issues/30
After this PR this is the behavior we get:
NaiveDateTime.to_iso8601(NaiveDateTime.utc_now()) ~>> Machete.ISO8601DateTimeMatcher.iso8601_datetime(roughly: :now) == []
Looks great! Thanks Jason!
Published as 0.3.1
Awesome, thanks!
Extends
Machete.ISO8601DateTimeMatcher
to support ISO8601 timestamps without a timezone (such as those thatNaiveDateTime.to_iso8601/1
creates.Fixes https://github.com/mtrudel/machete/issues/30
After this PR this is the behavior we get: