Opened 7 years ago

Closed 7 years ago

#17255 closed Cleanup/optimization (fixed)

Remove the "as" prefix from the timezone template tags

Reported by: Aymeric Augustin Owned by: Jannis Leidel
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


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 Jannis Leidel 7 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 Changed 7 years ago by Jannis Leidel

Owner: changed from nobody to Jannis Leidel
Status: newassigned
Triage Stage: UnreviewedAccepted

comment:2 Changed 7 years ago by Jannis Leidel

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

Changed 7 years ago by Jannis Leidel

Attachment: asremoval.diff added

comment:3 Changed 7 years ago by Jannis Leidel

Resolution: fixed
Status: assignedclosed

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