24 Apr
2000
24 Apr
'00
8:54 a.m.
I guess there's something wrong with the DateTime module: <dtml-var "_.DateTime(7200, 'GMT')"> yields 1970/01/01 01:59:60 GMT Whilst <dtml-var "_.DateTime(7201, 'GMT')"> yields 1970/01/01 02:00:01 GMT However, when omitting the timezone, it works as expected: <dtml-var "_.DateTime(7200)"> gives 1970/01/01 03:00:00 GMT (I'm in the BST timezone) Stranger still, if I give it the 'BST' timezone, it works too <dtml-var "_.DateTime(7200, 'BST')"> gives 1970/01/01 03:00:00 GMT+1 I'm using Zope 2.1.6, RedHat Linux 6.1. -- Steve Alexander Cat-Box limited