Skip to content

Commit

Permalink
Merge pull request #1332 from CVEProject/dr-1329
Browse files Browse the repository at this point in the history
Added missing dateRejected field to be converted to UTC
  • Loading branch information
jdaigneau5 authored Jan 29, 2025
2 parents cd41522 + 4cd2b35 commit 08fc53e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/constants/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ function getConstants () {
// Ajv's pattern validation uses the "u" (unicode) flag:
// https://ajv.js.org/json-schema.html#pattern
CVE_ID_REGEX: new RegExp(cveSchemaV5.definitions.cveId.pattern, 'u'),
DATE_FIELDS: ['cveMetadata.datePublished', 'cveMetadata.dateUpdated', 'cveMetadata.dateReserved', 'providerMetadata.dateUpdated', 'datePublic', 'dateAssigned'
DATE_FIELDS: ['cveMetadata.datePublished', 'cveMetadata.dateUpdated', 'cveMetadata.dateReserved', 'cveMetadata.dateRejected', 'providerMetadata.dateUpdated', 'datePublic', 'dateAssigned'
]
}

Expand Down

0 comments on commit 08fc53e

Please sign in to comment.