1 2 3 4 5 6 7 8 9 10
module View.Time exposing ( timeView ) import Time exposing (Time) timeView : Time -> String timeView time = let s = truncate (time / 1000) in (toString s) ++ " seconds"