Code

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#14821 closed (fixed)

Document the differences of formatting syntax in formats.py

Reported by: claudep 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 claudep 3 years ago.
Formats explanations
formats_doc2.diff (52.6 KB) - added by claudep 3 years ago.
Change reflected in all formats.py

Download all attachments as: .zip

Change History (6)

Changed 3 years ago by claudep

Formats explanations

comment:1 Changed 3 years ago by jezdez

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

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

Changed 3 years ago by claudep

Change reflected in all formats.py

comment:2 Changed 3 years ago by claudep

  • Patch needs improvement unset

comment:3 Changed 3 years ago by jezdez

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

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

comment:4 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.