Skip to content

Commit

Permalink
clips: format date correctly
Browse files Browse the repository at this point in the history
"st, nd, rd, th" endings aren't in day.js
  • Loading branch information
incognitojam committed Jul 9, 2023
1 parent 085506f commit cc2a447
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/clips.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ export function formatClipDuration(duration) {
}

export function formatClipTimestamp(timestamp) {
return dayjs(timestamp).format('MMM Do, HH:mm');
return dayjs(timestamp).format('MMM D, HH:mm');
}

0 comments on commit cc2a447

Please sign in to comment.