date format on top bar

T Started by tokyojo · August 6, 2020 at 4:21 am · 1 reply 0 voices Last reply 5 years, 11 months ago
T
tokyojo Original poster Member
#1

The date format on the top bar is currently fixed in “template-functions.php” as:

<?php echo date_i18n(esc_html__(‘l, F d, Y’,’purea-magazine’)); ?>

But it is better to use the WordPress date format defined in setting->general, as follows:

<?php echo date_i18n(esc_html__(get_option(‘date_format’),’purea-magazine’)); ?>

In Japanese, ‘l, F d, Y’ date format is not common.

I hope this will be included in the future release.

Post a reply

Join the conversation. Be kind — this is a public forum.

Replying to date format on top bar

By posting, your reply becomes public (unless marked private).