Explorar el Código

update every second for now

need to figure out how to initialize the signal with the current time...
Lucas Stadler %!s(int64=11) %!d(string=hace) años
padre
commit
99b3773c68
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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