Skip to content

Commit

Permalink
Use the creation date instead of the modification date
Browse files Browse the repository at this point in the history
  • Loading branch information
usox committed Jan 27, 2024
1 parent 8a9decf commit 4e4e8b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Component/Catalog/Manage/Update/AudioFileRetriever.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public function retrieve(
$thresholdTimestamp = $thresholdDate?->getTimestamp() ?? 0;

foreach ($fileList as $filename) {
$fileModificationTime = filemtime($filename);
$fileModificationTime = filectime($filename);

if ($fileModificationTime > $thresholdTimestamp) {
yield $this->build($filename);
Expand Down

0 comments on commit 4e4e8b9

Please sign in to comment.