Closed gf3 closed 3 months ago
@Matsa59 ahh, it seems to be the time. i was testing with 00:00:00
but it fails in your scenario with 02:00:00
I fix the issue on #306, try it on your project to be sure everything is ok
I don't know If it's ok to share this here (if not I can remove this comment at every moment)
I develop a library that works the same way as cocktail (for validations) except we build the lib considering timezone from the beginning.
Obvs cocktail manage more thing (like rule to string / from string) that we don't handle for the moment. Maybe it could help people facing on the timezone / DST problems
What we do differently (if It could help here):
valid?
and a next
functionsI prefer elixir to have less lib instead of having library that does the same things. So I guess we'll have to discute one day which one will survive et which one must be removed (it could be mine once cocktail fix DST problems)
@Matsa59 awesome, i'll have a look!
closing this as it doesn't solve all cases
see #304 for context
the tests pass, however i'm really not sure if this will break existing functionality