[go: up one dir, main page]

Menu

#603 toPortalTime error in Plone-2.5.1

open
5
2006-11-02
2006-11-02
Sim
No

It appears they have again removed toPortalTime, but
that is still in
'PloneCollectorNG/skins/pcng_templates/portlet_news.pt'.
I received an error after I went from Plone-2.5 to
Plone-2.5.1 which seems to be fixed with the following
patch:

# diff -u PloneCollectorNG/skins/pcng_templates/portlet_\
news.pt~
PloneCollectorNG/skins/pcng_templates/portlet_news.pt
---
PloneCollectorNG/skins/pcng_templates/portlet_news.pt~
2004-04-24 13:5\
8:11.000000000 -0400
+++
PloneCollectorNG/skins/pcng_templates/portlet_news.pt
2006-11-02 17:4\
4:42.000000000 -0500
@@ -34,7 +34,7 @@
</a>

<div class="portletDetails"
-
tal:content="python:here.toPortalTime(obj.Date)">July\
7, 08:11</div>
+
tal:content="python:here.toLocalizedTime(obj.Date)">J\
uly 7, 08:11</div>
</div>

</tal:block>

Discussion