Support » Requests and Feedback » Spanish Date Format

  • Hi everyone. It’s a small detail but months in Spanish start with lowercase so September is “septiembre”.

    I think it will be good to fix this.


Viewing 1 replies (of 1 total)
  • @sirucato,

    In Spanish language names of Spanish days of the week and months of the year use lower-case letters and wordpress follows the language rules.

    Still if you would like to show month names in titlecase then you can use ucfirst() function.

    Please add below filter in your current theme’s function.php file and that will convert month name in uppercase.

    // define the the_date callback
    function filter_the_date( $the_date ) {
       return ucfirst($the_date);
    add_filter( 'get_the_date', 'filter_the_date', 10, 4 );

    Hope this will helps you.


Viewing 1 replies (of 1 total)
  • The topic ‘Spanish Date Format’ is closed to new replies.