Skip to content

Commit e734f42

Browse files
authored
[DOI Content Negotiation] Fix startDate format (#3593)
`00` is interpreted as an octal literal, and depending on the context this is not allowed.
1 parent a67e38c commit e734f42

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

DOI Content Negotiation.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ async function processDOI(doi) {
6969
// Outage: 17 May 2025, 14:00–15:00 UTC
7070
// Start 1 hour before (13:00 UTC) and end 2 hours after (17:00 UTC)
7171
// TEMP for May 22 outage
72-
let startDate = new Date(Date.UTC(2025, 4, 22, 00, 0, 0));
72+
let startDate = new Date(Date.UTC(2025, 4, 22, 0, 0, 0));
7373
let endDate = new Date(Date.UTC(2025, 4, 24, 0, 0, 0));
7474

7575
// At least for now, always use REST API for Crossref DOIs

0 commit comments

Comments
 (0)