Skip to content

Commit

Permalink
feat: find artifactory timestamp by column
Browse files Browse the repository at this point in the history
  • Loading branch information
Arc676 committed Dec 20, 2024
1 parent 1677d53 commit 1fe931f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/modules/datasource/artifactory/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,6 @@ export class ArtifactoryDatasource extends Datasource {
}

private static parseReleaseTimestamp(rawText: string): string {
return rawText.trim().replace(regEx(/ ?-$/), '') + 'Z';
return rawText.split(regEx(/\s{2,}/)).filter(e => !isNaN(Date.parse(e))) + 'Z';
}
}

0 comments on commit 1fe931f

Please sign in to comment.