Skip to content

Commit

Permalink
fix: warning in call to date-fns with DDD
Browse files Browse the repository at this point in the history
  • Loading branch information
bensandee committed May 13, 2024
1 parent 7f9ebb8 commit c67cf7d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/sched/schedExporter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,9 @@ export async function exportToSched(
let timeNdx = -1;
for (const time of event.eventTimes) {
timeNdx++;
const dayOfYear = format(eventDate, "DDD");
const dayOfYear = format(eventDate, "DDD", {
useAdditionalDayOfYearTokens: true,
});
const session_key = `${event.id}.${dayOfYear}.${timeNdx}`;
const description = buildDescription(event);

Expand Down

0 comments on commit c67cf7d

Please sign in to comment.