Make WordPress Core

Opened 19 years ago

Closed 19 years ago

#1059 closed defect (bug) (fixed)

Make human_time_diff() be temporally insensitive

Reported by: ericmeyer's profile EricMeyer Owned by: matt's profile matt
Milestone: Priority: normal
Severity: minor Version: 1.5.1
Component: General Keywords:
Focuses: Cc:


Currently, human_time_diff() only works for future dates. A simple change to a single line makes it work into the past as well. Note that the routine will still only return a human-friendly time value no matter whether the interval describes the past or the future.

Attachments (1)

patch.txt (471 bytes) - added by EricMeyer 19 years ago.

Download all attachments as: .zip

Change History (5)

#2 @EricMeyer
19 years ago

  • Patch set to No

#3 @ryan
19 years ago

  • Patch changed from No to Yes

#4 @matt
19 years ago

  • fixed_in_version set to 1.5.1
  • Owner changed from anonymous to matt
  • Resolution changed from 10 to 20
  • Status changed from new to closed

19 years ago

Note: See TracTickets for help on using tickets.