01bdd7b344
this bug prevent from creating an event with the day of month of the begin date greater than the day of month of the end date, event if end date is effectively greater than begin date. for example, if the begin date is '2020-04-28' and end date is '2020-05-13', these dates are valid but because 28 > 13, the validation fails. this is better explained in this article ["Never compare dates in Elixir using < or >"](https://blog.leif.io/never-use-to-compare-dates/). using Date.compare, as proposed in this PR fix the issue. |
||
---|---|---|
.. | ||
tag | ||
comment.ex | ||
event_offer.ex | ||
event_options.ex | ||
event_participant_stats.ex | ||
event_participation_condition.ex | ||
event.ex | ||
events.ex | ||
feed_token.ex | ||
participant.ex | ||
session.ex | ||
tag_relation.ex | ||
tag.ex | ||
track.ex |