1
0
mirror of https://github.com/jhillyerd/inbucket.git synced 2025-12-18 10:07:02 +00:00

ui: Easy renames and refactors

This commit is contained in:
James Hillyerd
2018-11-18 18:52:14 -08:00
parent 0ed0cd2d64
commit 5be2b57a12
11 changed files with 150 additions and 164 deletions

View File

@@ -1,6 +1,6 @@
module Data.Date exposing (date)
import Json.Decode as Decode exposing (..)
import Json.Decode exposing (..)
import Time exposing (Posix)
@@ -8,4 +8,4 @@ import Time exposing (Posix)
-}
date : Decoder Posix
date =
int |> andThen (Time.millisToPosix >> succeed)
int |> map Time.millisToPosix