mirror of
https://github.com/wintercms/winter.git
synced 2024-06-28 05:33:29 +02:00
Updates the string version of the date to use PHP's IntlDateFormatter which gives us translated dates in the appropriate format, based on the user's locale set in backend preferences. If ever there's a case where locale wasn't set or didn't match anything, it would default to the system locale.