Skip to main content

Other Things

Menu

Skip to content
  • Home
  • About
  • Projects

How to Format DateTime in Elm

April 13, 2016
Adam Zolo
Elm No Comments

This took me a bit to figure out.

Assuming we’re using rluiten/elm-date-extra package

Get your import:
import Date.Config.Config_en_us exposing (config)

Get the DateTime string:
format config “%m/%d/%Y” yourDateTime

Post navigation

Categories

  • Agile (1)
  • AI (2)
  • angular (1)
  • C# (7)
  • Data Science (1)
  • Development Setup (2)
  • docker (4)
  • Elixir (8)
  • Elm (5)
  • Entity Framework (1)
  • git (3)
  • Homelab (2)
  • JavaScript (6)
  • Linux (5)
  • Machine Learning (3)
  • Minecraft (1)
  • MVC (3)
  • Performance (2)
  • Phoenix (4)
  • Python (1)
  • Rails (19)
    • Active Storage (1)
  • React (1)
  • Ruby (17)
  • Security (2)
  • SQL (6)
  • Stripe (1)
  • TFS (1)
  • Uncategorized (13)
  • Web (11)
  • Xamarin (2)

Posts by Date

April 2016
M T W T F S S
 123
45678910
11121314151617
18192021222324
252627282930  
« Feb   May »

Proudly powered by WordPress