msawka / timex_extensions

This reusable Elixir library contains logic extending the Timex modules.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OpenAperture.Timex.Extensions

Build Status

This reusable Elixir library contains logic extending the Timex modules.

  • get_elapsed_timestamp

    • Method to evaluate the elapsed time (against now) and convert to a human-readable string.
  • date_from_unix_timestamp

    • Method to convert a Unix timestamp (Integer) into a Timex.Date struct
  • time_from_unix_timestamp

    • Method to convert a Unix timestamp (Integer) into a Timex.Time struct
  • unix_timestamp_to_gregorian_seconds

    • Method to convert a unix timestamp into Gregorian calendar seconds

Contributing

To contribute to OpenAperture development, view our contributing guide

About

This reusable Elixir library contains logic extending the Timex modules.

License:Mozilla Public License 2.0


Languages

Language:Elixir 100.0%