Skip to content

Commit 2bc0a27

Browse files
b-abadiemxpv
authored andcommitted
fix(twitch): better date format in stream title
1 parent 5856d7a commit 2bc0a27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/builder/twitch.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ func (t *TwitchBuilder) Build(_ctx context.Context, cfg *feed.Config) (*model.Fe
9292

9393
feed.Episodes = append(feed.Episodes, &model.Episode{
9494
ID: video.ID,
95-
Title: fmt.Sprintf("%s (%s)", video.Title, date),
95+
Title: fmt.Sprintf("%s (%s)", video.Title, date.Format("2006-01-02 15:04 UTC")),
9696
Description: video.Description,
9797
Thumbnail: thumbnailUrl,
9898
Duration: durationSeconds,

0 commit comments

Comments
 (0)