Re: [Zope] bug? pagetemplate using strftime

2009-05-08 Thread Miguel Beltran R.
You can't use stftime. You have to manually build a string with the format you want using the other methods inside DateTime. e.g. fetcha.aCommonZ() or build up your date using components such as; fetcha.day() fetcha.month() fetcha.year() I made a script what recive a parameter

Re: [Zope] bug? pagetemplate using strftime

2009-05-07 Thread Miguel Beltran R.
If you strftime to show the hour and minute too, you will see as I previously said it is showing you the time in UTC (as determined by how many hours is it out). I made a test with date 2009/05/07 using dtml-var fecha.timezone -- dmYzZ=dtml-var fecha fmt=%d/%m/%Y %z %Z -- c=dtml-var fecha

Re: [Zope] bug? pagetemplate using strftime

2009-05-07 Thread Andrew Milton
+---[ Miguel Beltran R. ]-- | | | If you strftime to show the hour and minute too, you will see as I | previously said it is showing you the time in UTC (as determined by how | many hours is it out). | | | | I made a test with date 2009/05/07 using |

Re: [Zope] bug? pagetemplate using strftime

2009-04-22 Thread Miguel Beltran R.
'item.fetcha' is what kind of instance? DateTime? datetime? How to reproduce the behavior? We need something that works on any system. I don't know what type is. How can know? tr tal:repeat=item container/getData td tal:content=python: item.fecha.strftime('%d-%m-%Y');09-01-2009/td

Re: [Zope] bug? pagetemplate using strftime

2009-04-22 Thread Andrew Milton
+---[ Miguel Beltran R. ]-- | | | 'item.fetcha' is what kind of instance? DateTime? datetime? | | How to reproduce the behavior? | | We need something that works on any system. | | | I don't know what type is. | How can know? | | | tr tal:repeat=item

Re: [Zope] bug? pagetemplate using strftime

2009-04-21 Thread Miguel Beltran R.
Sorry, I not say clear where is the bug The original data is year 2009, month 01, day 10 2009/4/20 Miguel Beltran R. yourpa...@gmail.com Hi list, This is a bug in strftime? add to report to launchpad? tr tal:repeat=item container/getData td tal:content=python:

Re: [Zope] bug? pagetemplate using strftime

2009-04-21 Thread Andreas Jung
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sorry but your description is pretty weak. 'item.fetcha' is what kind of instance? DateTime? datetime? How to reproduce the behavior? We need something that works on any system. - - -aj Am 22.04.2009 um 01:56 schrieb Miguel Beltran R.: Sorry, I

[Zope] bug? pagetemplate using strftime

2009-04-20 Thread Miguel Beltran R.
Hi list, This is a bug in strftime? add to report to launchpad? tr tal:repeat=item container/getData td tal:content=python: item.fecha.strftime('%d-%m-%Y');09-01-2009/td td tal:content=item/fecha2009/01/10/td /tr can someone confirm this? using a database postgresql 8.3 zope 2.11.1 windows

Re: [Zope] bug? pagetemplate using strftime

2009-04-20 Thread Andrew Milton
+---[ Miguel Beltran R. ]-- | Hi list, | | This is a bug in strftime? add to report to launchpad? | | tr tal:repeat=item container/getData | td tal:content=python: item.fecha.strftime('%d-%m-%Y');09-01-2009/td | td tal:content=item/fecha2009/01/10/td | /tr | | can

Re: [Zope] bug? pagetemplate using strftime

2009-04-20 Thread filtered
I don't see any issue with that? If yes, provide the related output and what you expect and why? On Tue, Apr 21, 2009 at 04:33, Miguel Beltran R. yourpa...@gmail.comwrote: Hi list, This is a bug in strftime? add to report to launchpad? tr tal:repeat=item container/getData td