Popularity
1.1
Growing
Activity
0.0
Stable
3
2
0

Monthly Downloads: 0
Programming language: Elixir
License: MIT License
Tags: Date And Time    
Latest version: v2.0.4

emojiclock alternatives and similar packages

Based on the "Date and Time" category.
Alternatively, view emojiclock alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of emojiclock or a related project?

Add another 'Date and Time' Package

README

EmojiClock

Elixir GPA Travis Hex.pm Hexdocs Beerpay

An Elixir module for giving you an emoji clock for a given hour. See the API reference for the many available input formats.

iex> EmojiClock.time!(~T[02:17:47.179])
"๐Ÿ•‘"

Installing EmojiClock

The package can be installed by adding emojiclock to your list of dependencies in mix.exs:

def deps do
  [{:emojiclock, "~> 2.0.2"}]
end

And then added as an extra application, also in mix.exs:

def application do
  [extra_applications: [:emojiclock]]
end

Using EmojiClock

The EmojiClock module has several functions, all of which return an emoji clock bitstring. Every function that accepts an argument has a ! variant, which should be used if you trust your input and want to get straight to the emoji.

iex> EmojiClock.unix(475359803)
{:ok, "๐Ÿ•—"}

iex> EmojiClock.unix!(475359803)
"๐Ÿ•—"