We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cc02901 commit 7454575Copy full SHA for 7454575
1 file changed
core/src/main/java/io/snyk/plugins/artifactory/scanner/ScannerModule.java
@@ -105,7 +105,7 @@ private Optional<Instant> getCreatedDate(RepoPath repoPath) {
105
try {
106
ItemInfo itemInfo = repositories.getItemInfo(repoPath);
107
if (itemInfo != null) {
108
- Date created = itemInfo.getCreated();
+ Date created = new Date(itemInfo.getCreated());
109
if (created != null) {
110
return Optional.of(created.toInstant());
111
}
0 commit comments