3 ms·
> Both are inferior to "$ymd" I think this is wrong, in my opinion the correct is $formattedDate = $moment->format(translation('date-format')); since how a dat
by rypskar 9y ago
> Both are inferior to "$ymd"
I think this is wrong, in my opinion the correct is
$formattedDate = $moment->format(translation('date-format'));
since how a date is formatted will depend on the current language, you don't need to format it if it is for internal use