Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions src/examples/time.elm
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
import Html exposing (Html)
import Svg exposing (..)
import Svg.Attributes exposing (..)
import Time exposing (Time, second)
import Time exposing (Time, now, second)
import Task



Expand All @@ -26,7 +27,7 @@ type alias Model = Time

init : (Model, Cmd Msg)
init =
(0, Cmd.none)
(0, Task.perform Tick now)



Expand Down