Selaa lähdekoodia

update every second for now

need to figure out how to initialize the signal with the current time...
Lucas Stadler 11 vuotta sitten
vanhempi
commit
99b3773c68
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      elm/Stream.elm

+ 1 - 1
elm/Stream.elm

@ -81,6 +81,6 @@ updates : Signal.Channel Action
81 81
updates = Signal.channel NoOp
82 82
83 83
currentDate : Signal Date
84
currentDate = Signal.map Date.fromTime <| Time.every Time.minute
84
currentDate = Signal.map Date.fromTime <| Time.every Time.second
85 85
86 86
main = Signal.map view model