It depends (or should depend) on server localization.
You might customize format in plugin settings or manually in plugin files - date() function.
Thank you for your reply
I noticed that if I change the date format from 'D, d M' to 'd.m.Y' in the following function, it breaks the auction duration calculation.
// CALCULATE ESTIMATED DELIVERY
function act_estimated_delivery($days, $as_text = true) {
$format = 'D, d M';
return date($format, strtotime("+$days days"));
}
Can someone explain why this happens, and how I can safely localize the date (e.g. show Ukrainian or localized day/month names) without affecting the logic?
Is there a way to keep 'D, d M' for internal calculation and show a translated string only on the front-end?
Thanks in advance!