Support » Plugin: Recently Registered » How to Change Date format dd/mm/yyyy

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Plugin Review Team Rep

    Not at this time.

    It’s hardcoded into the plugin to match what WordPress itself has hardcoded into the system. Should WP change that, I’ll change too, but I wanted to match their settings for continuity.

    Hi Mika,

    I, too, wanted to change the format to match the rest of my site’s date output. I made the following change to use get_option( ‘date_format’) and it does the trick nicely:

    $registerdate = '<span>'. date_i18n( get_option( 'date_format' ), $registered ) .'</span>' ;

    note: I haven’t tested this on Multisite.

    Plugin Author Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Plugin Review Team Rep

    I know how, but like I said, I went for parity with how the code works in the rest of WordPress. This was a design choice.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to Change Date format dd/mm/yyyy’ is closed to new replies.