Viewing 1 replies (of 1 total)
  • Plugin Author AntoineH

    (@antoineh)

    Hi, the date format is defined in the translation files. To change it, open the .po file for your language in POEdit and search for the string “M d, Y”. Change it to the format you want. Check the page https://php.net/date for examples of allowed formats.
    Save the .po file and compile it to a .mo file in POEdit when you’re ready.

    Another option is to extend the plugin using the hook footballpool_match_table_match_template_params. This hook can be used to change the values of an array that is used to populate the match rows. Change the match_datetime_formatted value in the array to your format. The match_timestamp value contains the timestamp you can use to format the correct date.

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