aboutsummaryrefslogtreecommitdiff
path: root/src/View/Time.elm
blob: 6e6d2618e89c1d799309f7a98309ffdeff444945 (plain)
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"