OFFLINE-GmbH / oc-responsive-images-plugin

Adds reponsive images capabilities to October CMS
MIT License
45 stars 26 forks source link

Fix for passing '--include-since' option #93

Closed wpluut closed 2 years ago

wpluut commented 2 years ago

When the artisan command php artisan responsive-images:convert is used with the --include-since option we don't need to convert it with strtotime since the Symfony\Component\Finder::date handles this. The current implementation gives errors indicating that an invalid date is specified. This is because the date has already been converted to a time. I hope I have explained sufficiently why I am offering this PR.

tobias-kuendig commented 2 years ago

Thank you!