Correctly returning values for localdate() in Twig, simplifying the 'locale' setting.