Skip to content
This repository has been archived by the owner on Oct 26, 2024. It is now read-only.

Commit

Permalink
Update getSpeakersSessionsSchedule.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
HugoGresse authored Mar 31, 2024
1 parent a9dffe5 commit e6bf521
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/openplanner/getSpeakersSessionsSchedule.ts
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ export const getSpeakersSessionsSchedule = async (payload: {
console.log('Merging sessions')
const dateFormat = {weekday: 'long', month: 'long', day: 'numeric'}
Object.keys(groupedSessionsByHour).forEach(day => {
schedule[day] = {
schedule[(day || "??")] = {
date: day,
// @ts-ignore
dateReadable: new Date(Date.parse(day)).toLocaleDateString('fr-FR', dateFormat),
Expand Down

0 comments on commit e6bf521

Please sign in to comment.