WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#15403 closed defect (bug) (invalid)

the_date and get_the_date are not working properly

Reported by: christian_gnoth Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: General Keywords:
Focuses: Cc:

Description

on my website: http://gn.it-gnoth.de the functions get_the_date() and the_date(, , , false) are not returning the date in the format which is preset in the admin settings.

Change History (3)

comment:1 @christian_gnoth4 years ago

the_date('', '', '', false);

is the function call I am using. in the description above it is not correct.

comment:2 @nacin4 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Severity changed from major to normal
  • Status changed from new to closed

Works for me. Please try the support forums for support requests: http://wordpress.org/support/

Please note that the_date() only works for the newest post in any single day in the loop. get_the_date() always gives you a date.

comment:3 @christian_gnoth4 years ago

ok. I found the reason. the plugin qtranslate creates this problem - maybe the have a modified hook for the_date.

Note: See TracTickets for help on using tickets.