Opened 13 years ago

Closed 13 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: dev
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 Jannis Leidel 13 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 by Jannis Leidel, 13 years ago

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

comment:2 by Jannis Leidel, 13 years ago

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

by Jannis Leidel, 13 years ago

Attachment: asremoval.diff added

comment:3 by Jannis Leidel, 13 years ago

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