Opened 6 years ago

Closed 6 years ago

Last modified 5 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: UI/UX:

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 6 years ago.
Formats explanations
formats_doc2.diff (52.6 KB) - added by Claude Paroz 6 years ago.
Change reflected in all formats.py

Download all attachments as: .zip

Change History (6)

Changed 6 years ago by Claude Paroz

Attachment: formats_doc.diff added

Formats explanations

comment:1 Changed 6 years ago by Jannis Leidel

Patch needs improvement: set
Triage Stage: UnreviewedAccepted

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

Changed 6 years ago by Claude Paroz

Attachment: formats_doc2.diff added

Change reflected in all formats.py

comment:2 Changed 6 years ago by Claude Paroz

Patch needs improvement: unset

comment:3 Changed 6 years ago by Jannis Leidel

Resolution: fixed
Status: newclosed

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

comment:4 Changed 5 years ago by Jacob

milestone: 1.3

Milestone 1.3 deleted

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