date format on top bar
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.
Replies (1)
-
August 6, 2020 at 4:21 am
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.
-
August 7, 2020 at 1:48 am
Hi tokyojo,
Thanks for the suggestion. We will definitely do it.
Best Regards