bitwalker / timex

A complete date/time library for Elixir projects.
https://hexdocs.pm/timex
MIT License
1.76k stars 379 forks source link

Beginner on Timex #746

Closed ghenry closed 1 year ago

ghenry commented 1 year ago

Hi all,

I've been using https://github.com/neilberkman/docusign_elixir_sample_app/blob/develop/lib/docusign_elixir_sample_app.ex#L13 which uses

from_date = Timex.shift(Date.utc_today(), days: -30)

now even if I put use Timex in that file I still get:

Compiling 1 file (.ex)
error: module Timex is not loaded and could not be found

it's in mix.exs and is installed via mix deps.get.

I get this in a fresh project I'm working on myself too started via mix new with Elixir 1.15.4 and Timex 3.7.11

What dumb thing am I doing?

ghenry commented 1 year ago

Just me not compiling things. Apologies for the noise.