Skip to content

Commit

Permalink
fix: NameError: name toLocalizedTime is not defined into DEFAULT_OUT_…
Browse files Browse the repository at this point in the history
…TEMPLATE_PT
  • Loading branch information
ekulos committed Sep 27, 2012
1 parent 21ae96d commit 9d756f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Products/EasyNewsletter/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@
</td>
</tr>
<tr>
<td class="header">
<td class="header" tal:define="toLocalizedTime nocall:context/@@plone/toLocalizedTime">
<!-- this is the header of the newsletter -->
<span tal:replace="structure context/getHeader" />
<span tal:define="toLocalizedTime nocall:context/@@plone/toLocalizedTime" tal:replace="structure python:toLocalizedTime(context.modified(), long_format=0)" />
Expand Down

0 comments on commit 9d756f2

Please sign in to comment.