Opened 6 years ago

Closed 4 years ago

#12771 closed Uncategorized (fixed)

Humanize with natural time

Reported by: phinpho Owned by: djansoft
Component: contrib.humanize Version:
Severity: Normal Keywords:
Cc: jezdez Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX:

Description

I create a new template function like naturalday but working with time, and I called it naturaltime.

Attachments (3)

humanize+naturaltime.diff (2.1 KB) - added by phinpho 6 years ago.
patch for templatetag naturaltime
bug_12771.diff (4.0 KB) - added by djansoft 6 years ago.
Fixed bug in patch and adding tests.
patch_with_docs.diff (5.3 KB) - added by xtrqt 4 years ago.
Added documentation.

Download all attachments as: .zip

Change History (13)

Changed 6 years ago by phinpho

patch for templatetag naturaltime

comment:1 Changed 6 years ago by Alex

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted

comment:2 Changed 6 years ago by kmtracey

  • Needs documentation set
  • Needs tests set

comment:3 Changed 6 years ago by jezdez

  • Cc jezdez added

comment:4 Changed 6 years ago by anonymous

  • Owner changed from nobody to anonymous
  • Status changed from new to assigned

comment:5 Changed 6 years ago by anonymous

  • Owner changed from anonymous to djansoft
  • Status changed from assigned to new

Changed 6 years ago by djansoft

Fixed bug in patch and adding tests.

comment:6 Changed 6 years ago by djansoft

  • Needs tests unset

comment:7 Changed 6 years ago by russellm

  • milestone 1.2 deleted
  • Version 1.1 deleted

Changed 4 years ago by xtrqt

Added documentation.

comment:8 Changed 4 years ago by xtrqt

  • Needs documentation unset
  • Triage Stage changed from Accepted to Ready for checkin

comment:9 Changed 4 years ago by jezdez

  • Component changed from Template system to contrib.humanize
  • Easy pickings unset
  • Severity set to Normal
  • Type set to Uncategorized

comment:10 Changed 4 years ago by jezdez

  • Resolution set to fixed
  • Status changed from new to closed

In [16071]:

Fixed #12771 -- Added naturaltime filter to humanize contrib app. Thanks, phinpho, djansoft and xtrqt.

Note: See TracTickets for help on using tickets.
Back to Top