Ticket #5817 (closed defect: fixed)

Opened 10 months ago

Last modified 9 months ago

Human readable time diff for future posts is off

Reported by: ryan Assigned to: anonymous
Priority: normal Milestone: 2.5
Component: Administration Version: 2.5
Severity: normal Keywords: has-patch
Cc: ffemtcj

Description

Manage->Posts says "X days ago" for the human readable time difference. The display code in edit-post-rows.php should use something like "from now" instead of "ago" for future posts.

Attachments

r6787__readable_time.diff (0.8 kB) - added by ffemtcj on 02/11/08 14:18:51.
Adds corect tense to time

Change History

02/11/08 14:18:51 changed by ffemtcj

  • attachment r6787__readable_time.diff added.

Adds corect tense to time

02/11/08 14:20:01 changed by ffemtcj

  • cc set to ffemtcj.
  • keywords set to has-patch.

Added a check to see if the post has already been posted. If it has been, it displays 'ago' and if it is still waiting it displays 'from now'.

02/11/08 21:52:50 changed by ryan

  • status changed from new to closed.
  • resolution set to fixed.

(In [6793]) Fix human readable time offset for future posts. Props ffemtcj. fixes #5817

02/11/08 21:53:32 changed by ryan

Changed the patch a bit to take the absolute value of the time diff and to show "ago" for all posts other than future instead of just for published posts.