Hi guys,
I am confused by Timex Compare, the granularity options:
https://hexdocs.pm/timex/Timex.html#compare/3
* :year
* :years
* :month
* :months
* :week
* :weeks
What is difference between year
, years
? Why are there even 2 options?
I can’t get a different result between these 2 options but on the other hand I need to be 100% I choose the right one.
I am in particular interested in day
vs days
. I just need to compare on a day in a date.
Thanks