cancel
Showing results for 
Search instead for 
Did you mean: 

Save dates in UTC (like in Magento 1)

Save dates in UTC (like in Magento 1)

Feature request from aleron75, posted on GitHub May 10, 2016

Hi, this is not something which doesn't work but something that doesn't work as expected, so feel free to take it more as a suggestion than as a bug.

As stated in the title, I expected dates saved in UTC just like in Magento 1 but it doesn't seem to work this way in Magento 2.

What's more, the \Magento\Eav\Model\Entity\Attribute\Backend\Time\Created and \Magento\Eav\Model\Entity\Attribute\Backend\Time\Updated attribute backend models don't seem to have the same logic implemented (even if I don't think that any default attribute use them at date).

You can read some considerations and suggestions here: http://magento.stackexchange.com/questions/114706/magento-2-best-practice-to-get-current-date

Thank you