How to: DateTime validation with compare/2
Im trying to compare datetime in an action with compare/2. Code looks like this:
Weird thing is this validation fails even when resumes_at is in the future. Does this work or are there other ways of easily comparing datetimes in inline changes?
Weird thing is this validation fails even when resumes_at is in the future. Does this work or are there other ways of easily comparing datetimes in inline changes?
