Typo paseDate -> parseDate

This commit is contained in:
xemles 2023-05-06 14:37:26 +02:00 committed by GitHub
parent ffb06899ab
commit 5005d5fde6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -34,7 +34,7 @@ module.exports = {
writer: parseCast(info,"Scénario :"),
composer: parseCast(info,"Musique :"),
presenter: parseCast(info,"Présenté par :"),
date: paseDate(info),
date: parseDate(info),
rating: parseRating(info),
start,
stop
@ -108,7 +108,7 @@ function parseCast(info, type) {
return people
}
function paseDate(info) {
function parseDate(info) {
return (info && info.productionYear) ? info.productionYear : null
}