Make WordPress Core

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#44535 closed defect (bug) (invalid)

Reporting a Bug

Reported by: fedemodern Owned by:
Priority: normal Milestone:
Component: Date/Time Version:
Severity: normal Keywords:
Cc: Focuses:

Description

Quando viene usata la funzione the_date(), in tutti gli articoli scritti nello stesso giorno la data non viene visualizzata.

Change History (2)

#1 @swissspidy
8 years ago

  • Component General → Date/Time
  • Milestone Awaiting Review
  • Resolution → invalid
  • Status new → closed

Hey there and welcome to WordPress Trac!

To translate your report: You say that when using the_date() in a loop, the date is only shown once when two posts have the same date.

This is not a bug. This is by design.

In other words, the_date() only works for the newest post in any single day in the loop. get_the_date() always gives you a date.

#2 @tw2113
8 years ago

To add to this, please see the "Special note" at the top of ​https://codex.wordpress.org/Function_Reference/the_date as it talks about the same thing.

Note: See TracTickets for help on using tickets.