fix: wrong escape for date-fns
All checks were successful
repod / xml (push) Successful in 13s
repod / php (push) Successful in 48s
repod / nodejs (push) Successful in 1m43s

This commit is contained in:
Michel Roux 2024-01-10 18:21:12 +01:00
parent 2efedb6edb
commit 65befa170b

View File

@ -94,7 +94,7 @@ export const player = {
episode: context.state.episode.episodeUrl,
guid: context.state.episode.episodeGuid,
action: 'play',
timestamp: format(new Date(), 'yyyy-MM-dd[T]HH:mm:ss'),
timestamp: format(new Date(), 'yyyy-MM-dd\'T\'HH:mm:ss'),
started: Math.round(context.state.action ? context.state.action.started : 0),
position: Math.round(audio.currentTime),
total: Math.round(audio.duration),