timex icon indicating copy to clipboard operation
timex copied to clipboard

Timex.from_now is wrong when multiple days in the future / Might be timezone related, not sure

Open julienmarie opened this issue 1 year ago • 0 comments

Steps to reproduce

Timex.from_now(DateTime.utc_now() |> Timex.shift(days: +2)) 
> "tomorrow"

Note: I'm based in Metro Manila, it's 6:40pm when I'm doing this test.

Description of issue

  • What are the expected results?
  • If the date is in 2 days, I expect "In two days"

julienmarie avatar Dec 07 '23 10:12 julienmarie