I have a multilingual website where I’m also displaying WPSP for different languages. The issue is that the date format displayed is equal to the default WP format (as specified in Settings -> General) for all languages. I need to use a different date format for certain languages. Because each list for each language has a unique ID, I think this can be achieved by adding a function for specific list IDs.
For example, I need the date format to be “j. F Y” (30. september 2020) instead of “F j, Y” (September 30, 2020) for specific lists.
Is it possible you could provide a code snippet to solve this using a function?
I didn’t fully understand your answer so let me try to explain again:
I have 3 lists today in English. I have translated these 3 lists using WPML, and they have a different list ID than the original English. All lists are now showing the date format as defined in WP settings, but the date format for the translated lists needs to be different as I said above.