Skip to content

Commit

Permalink
fix: default new channel start time to now
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisbenincasa committed Jan 9, 2025
1 parent 84a8e63 commit 13db6ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/routes/channels/new.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ function defaultNewChannel(num: number, transcodeConfigId: string): Channel {
id: v4(),
name: `Channel ${num}`,
number: num,
startTime: dayjs().add(1, 'h').startOf('h').unix() * 1000,
startTime: +dayjs(),
transcodeConfigId,
};
}
Expand Down

0 comments on commit 13db6ec

Please sign in to comment.