Code

Opened 4 years ago

Closed 4 years ago

Last modified 3 years ago

#13188 closed (fixed)

Move custom format documentation from now tag to date filter

Reported by: olau Owned by: dwillis
Component: Documentation Version: 1.1
Severity: Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

I humbly suggest moving the documentation of the custom format for the date filter from the now tag to the date filter in the reference documentation.

I think I've only ever used the now tag once (for years I thought it was completely useless :), whereas the date filter is always useful when dealing with dates. Thus it's a little bit annoying that the documentation has the custom format explanation that concerns both with now instead of with date. I suspect others have the same problem.

Attachments (2)

13188.diff (10.8 KB) - added by dwillis 4 years ago.
13188.2.diff (11.3 KB) - added by timo 4 years ago.

Download all attachments as: .zip

Change History (11)

comment:1 Changed 4 years ago by gabrielhurley

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

The documentation for date does provide a link to the formatting documentation in now... it's just not very obvious. Maybe rather than moving the whole section that link could just be made to stand out a bit more?

comment:2 Changed 4 years ago by olau

Well, then it'd still be a click away rather than just there. :)

comment:3 Changed 4 years ago by russellm

  • Triage Stage changed from Unreviewed to Accepted

I agree; now isn't the best place for the documentation.

comment:4 Changed 4 years ago by dwillis

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

Changed 4 years ago by dwillis

comment:5 Changed 4 years ago by dwillis

  • Has patch set
  • milestone set to 1.3

Added patch

Changed 4 years ago by timo

comment:6 Changed 4 years ago by timo

  • Triage Stage changed from Accepted to Ready for checkin

patch updated to move some text added in 1.2 to correspond with the move of the table

comment:7 Changed 4 years ago by jezdez

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

(In [14013]) Fixed #13188 -- Moved date format documentation from the now template tag to the date filter. Thanks, dwillis and timo.

comment:8 Changed 4 years ago by jezdez

(In [14021]) Fixed #13188 -- Moved date format documentation from the now template tag to the date filter. Thanks, dwillis and timo.

Backport from trunk (r14013).

comment:9 Changed 3 years ago by jacob

  • milestone 1.3 deleted

Milestone 1.3 deleted

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.