Skip to content

Commit

Permalink
18 weeks
Browse files Browse the repository at this point in the history
  • Loading branch information
delphiactual committed Jun 11, 2024
1 parent 480ba14 commit 06540c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/generate-season-info.ts
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ function formatDateDDMMMYYYY(dateString: string, dayBefore = false) {
}

function generateBestGuessEndDate(seasonNumber: number) {
const numWeeks = 16; // As of TFS seasons/episodes are 4 months instead of 3
const numWeeks = 18; // As of TFS each episode is compromised of 3 acts, each being 6 weeks long
const resetTime = D2SeasonInfo[seasonNumber].resetTime.endsWith('Z') // Ensure TZ attached to DT stamp
? D2SeasonInfo[seasonNumber].resetTime
: `${D2SeasonInfo[seasonNumber].resetTime}Z`;
Expand Down

0 comments on commit 06540c0

Please sign in to comment.