Opened 14 years ago

Closed 14 years ago

Last modified 13 years ago

#14821 closed (fixed)

Document the differences of formatting syntax in formats.py

Reported by: Claude Paroz Owned by: nobody
Component: Internationalization Version: 1.2
Severity: Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

While examining ticket #14663, I realized some confusion can come from the syntax differences between _FORMAT and _INPUT_FORMATS strings. I suggest to better document this in the 'model' en/formats.py.

Attachments (2)

formats_doc.diff (929 bytes ) - added by Claude Paroz 14 years ago.
Formats explanations
formats_doc2.diff (52.6 KB ) - added by Claude Paroz 14 years ago.
Change reflected in all formats.py

Download all attachments as: .zip

Change History (6)

by Claude Paroz, 14 years ago

Attachment: formats_doc.diff added

Formats explanations

comment:1 by Jannis Leidel, 14 years ago

Patch needs improvement: set
Triage Stage: UnreviewedAccepted

Indeed, very good idea. Might be actual useful to have that info in every formats.py.

by Claude Paroz, 14 years ago

Attachment: formats_doc2.diff added

Change reflected in all formats.py

comment:2 by Claude Paroz, 14 years ago

Patch needs improvement: unset

comment:3 by Jannis Leidel, 14 years ago

Resolution: fixed
Status: newclosed

(In [14893]) Fixed #14821 -- Documented the differences in formatting syntax in formats modules. Thanks, Claude.

comment:4 by Jacob, 13 years ago

milestone: 1.3

Milestone 1.3 deleted

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