Opened 4 weeks ago

Last modified 3 weeks ago

#29374 new Cleanup/optimization

Group the 'Available format strings' in the date template tag doc by category

Reported by: Pietro Bernardi Owned by: nobody
Component: Documentation Version:
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

'Available format strings' table is ordered alphabetically by format characters. It's IMHO inconvenient,
more times you search for format character of given element then for meaning of given format character.
So I reordered the table and added intermediate titles (see attached html file)
Pious soul that incorporates this snippet to doc is prayed to reformat intermediate titles (add appropriate classes and delete these ugly <b></b>).
The rest is copy/paste of original html page and needed no modifications.

Pietro

Change History (1)

comment:2 Changed 3 weeks ago by Tim Graham

Has patch: unset
Summary: built-in template tags - time - 'Available format strings' table for humansGroup the 'Available format strings' in the date template tag doc by category
Triage Stage: UnreviewedAccepted

The suggestion seems good -- PHP's table uses that approach.

You should submit your patch as a pull request.

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