Jump to content

[2020] Changing The Date Format


renier

Publicaciones recomendadas

Hello friends, how are you? I don't know if anyone has ever taught changing the format of the dooplay date, but come on, you don't need much knowledge to change

The file you need to find is functions.php located at

/dooplay/functions.php

Find the code on line 37:

image.png

It is based on the wordpress date formats, you can study those formed by this link:

https://wordpress.org/support/article/formatting-date-and-time/

Here are some examples of date format with the result output.

  1. F j, Y g:i a – November 6, 2010 12:50 am
  2. F j, Y – November 6, 2010
  3. F, Y – November, 2010
  4. g:i a – 12:50 am
  5. g:i:s a – 12:50:48 am
  6. l, F jS, Y – Saturday, November 6th, 2010
  7. M j, Y @ G:i – Nov 6, 2010 @ 0:50
  8. Y/m/d \a\t g:i A – 2010/11/06 at 12:50 AM
  9. Y/m/d \a\t g:ia – 2010/11/06 at 12:50am
  10. Y/m/d g:i:s A – 2010/11/06 12:50:48 AM
  11. Y/m/d – 2010/11/06

After you change the way you want the date, just save! I changed to the Brazilian graduate.

image.png

Here is the result:

image.png

Enlace al comentario
Compartir en otros sitios web

  • 1 mes más tarde...
  • 8 meses más tarde...
×
×
  • Crear nuevo...