Просмотр исходного кода

update every second for now

need to figure out how to initialize the signal with the current time...
Lucas Stadler лет назад: 11
Родитель
Сommit
99b3773c68
1 измененных файлов с 1 добавлено и 1 удалено
  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