debianize-mobilizon/lib/mobilizon/events
setop 01bdd7b344 fix compare begin and end dates
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.
2020-04-03 23:37:56 +02:00
..
tag Refactoring of Events context 2019-09-13 01:01:17 +02:00
comment.ex Rename MobilizonWeb to Mobilizon.Web 2020-01-26 21:39:49 +01:00
event_offer.ex Refactoring of Events context 2019-09-13 01:01:17 +02:00
event_options.ex Add anonymous and remote participations 2020-01-29 17:28:11 +01:00
event_participant_stats.ex Add anonymous and remote participations 2020-01-29 17:28:11 +01:00
event_participation_condition.ex Refactoring of Events context 2019-09-13 01:01:17 +02:00
event.ex fix compare begin and end dates 2020-04-03 23:37:56 +02:00
events.ex Add ability to add message for participation and improve participation 2020-03-06 09:00:48 +01:00
feed_token.ex Clean specs 2019-09-13 02:15:04 +02:00
participant.ex Add ability to add message for participation and improve participation 2020-03-06 09:00:48 +01:00
session.ex Clean specs 2019-09-13 02:15:04 +02:00
tag_relation.ex Refactoring of Events context 2019-09-17 02:22:54 +02:00
tag.ex Add some backend changes and validation for field length 2019-10-18 11:31:11 +02:00
track.ex Clean specs 2019-09-13 02:15:04 +02:00