diff options
Diffstat (limited to 'test/handlers')
-rw-r--r-- | test/handlers/sse_clock_h.erl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/handlers/sse_clock_h.erl b/test/handlers/sse_clock_h.erl index 23b834f..8c18ac5 100644 --- a/test/handlers/sse_clock_h.erl +++ b/test/handlers/sse_clock_h.erl @@ -14,8 +14,7 @@ init(Req, State) -> info(timeout, Req, State) -> erlang:send_after(1000, self(), timeout), - Time = calendar:system_time_to_rfc3339(erlang:system_time(second)), cowboy_req:stream_events(#{ - data => Time + data => cowboy_clock:rfc1123() }, nofin, Req), {ok, Req, State}. |