Sfoglia il codice sorgente

update every second for now

need to figure out how to initialize the signal with the current time...
Lucas Stadler 11 anni fa
parent
commit
99b3773c68
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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