Change the ‘s YEAR and MONTH output
-
Is there a way to change the Month Year output to something different exept from editing the code
$title = sprintf( ‘<caption> %s </caption>’, esc_html( eo_format_datetime( $month, ‘F Y’ ) ) );inside “class-eo-calendar-widget.php”?
For example, some countries have “July 2022” is some way of default view/output.
For some countries theres “2022/07” or “2022Yr 07Mo” or something similar.So yours has
$month, ‘F Y’but for what I would like to have it’s something like
‘Y’+Yr + ‘m’+Mo
or something like it. Don’t mind about the wrong PHP, I just want to know if its possible or not and if you might be able to implement it and/or can do it on the fly using the current version.Thanks!
- The topic ‘Change the ‘s YEAR and MONTH output’ is closed to new replies.