Magento 2 order date showing wrong in Invoice PDF,the order date is showing correct in admin order page but it is not showing correct when generate invoice PDF.
This is Magento issue, you can apply patch
https://github.com/magento/magento2/issues/26675 - Magento issue 26675
https://pastebin.com/YtzX09gL - patch
composer require cweagans/composer-patches
- Create root subdirectory called patches and create file `datetime_format_2_3_5.patch.
- Add pastebin content to this file (https://pastebin.com/YtzX09gL)
- Add to your composer.json:
- And run
composer update --lock
(with composer-exit-on-patch-failure set to true, composer will complain if the patch is no longer applicable on a certain version of Magento, which is very handy.)