Skip to content

Commit

Permalink
Fix saving of live stream start time
Browse files Browse the repository at this point in the history
  • Loading branch information
ku1ik committed Feb 5, 2025
1 parent a636c34 commit 0253c65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/asciinema/streaming/live_stream_server.ex
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ defmodule Asciinema.Streaming.LiveStreamServer do
Keyword.merge(
[
online: true,
last_started_at: Timex.shift(Timex.now(), milliseconds: -round(time * 1000.0)),
last_started_at: Timex.shift(Timex.now(), microseconds: -round(time)),
cols: cols,
rows: rows
],
Expand Down

0 comments on commit 0253c65

Please sign in to comment.