Skip to content

Commit 0253c65

Browse files
committed
Fix saving of live stream start time
1 parent a636c34 commit 0253c65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/asciinema/streaming/live_stream_server.ex

+1-1
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ defmodule Asciinema.Streaming.LiveStreamServer do
243243
Keyword.merge(
244244
[
245245
online: true,
246-
last_started_at: Timex.shift(Timex.now(), milliseconds: -round(time * 1000.0)),
246+
last_started_at: Timex.shift(Timex.now(), microseconds: -round(time)),
247247
cols: cols,
248248
rows: rows
249249
],

0 commit comments

Comments
 (0)