Generates familiar English sentences describing the time using Elixir.
- "It is three o'clock"
- "It is five minutes to twelve"
- "It is half past one"
- "It is quarter to ten"
- "It is twenty five past four"
brew install elixir
- Run
mix test
to run unit tests - Run
iex -S mix
to load up the application in the interactive Elixir console h ApproximateTime.from
for help with rounding time to the nearest 5 minutesh WordClock.humanize
for help with turning times into English sentences