Opened 3 years ago

Closed 3 years ago

#17255 closed Cleanup/optimization (fixed)

Remove the "as" prefix from the timezone template tags

Reported by: aaugustin Owned by: jezdez
Component: Template system Version: master
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

The notion of conversions is already expressed by the pipe character.

{{ value|utc }} is clear enough and more readable than {{ value|asutc }}.

Attachments (1)

asremoval.diff (13.4 KB) - added by jezdez 3 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 Changed 3 years ago by jezdez

  • Owner changed from nobody to jezdez
  • Status changed from new to assigned
  • Triage Stage changed from Unreviewed to Accepted

comment:2 Changed 3 years ago by jezdez

I missed the patch review deadline but am committed to fix this slight problem.

Changed 3 years ago by jezdez

comment:3 Changed 3 years ago by jezdez

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

In [17107]:

Fixed #17255 -- Removed "as" prefix from new timezone template filter names for the sake of clarity. Cheers to Aymeric Augustin for bearing with me.

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