Add supported date format with offset in Nuget repository MetaAnalyzer #1263
Labels
defect
Something isn't working
domain/repo-meta-analysis
p2
Non-critical bugs, and features that help organizations to identify and reduce risk
size/S
Small effort
Current Behavior
Nuget Analyzer has list of two supported
SimpleDateFormat
which are allowed for parsing the dates being received from the repository, based on limited test data.Now, as seen in logs, below date format is also received from the nugget repo. This date has offset dateTime and needs to be added to the list of supported formats in order to avoid the
ParseException
.Date example:
1900-01-01T00:00:00+00:00
Format needed:
yyyy-MM-dd'T'HH:mm:ss
Proposed Behavior
Add the below format in Nuget analyser to support parsing of offset date time :
yyyy-MM-dd'T'HH:mm:ss
Checklist
The text was updated successfully, but these errors were encountered: