Fomatting Dates for the UK
Hi ZOPE newbie alert: I am trying to get ZOPE to publish dates in UK format. I am fine with getting todays date formatted as required by calling a dtml-var, but the problem is with putting up 'future-static' dates such as the example in the Content Managers Guide, where you want to do something like "This site will go live on..." using 'expected_date' which is a property with type date. This automatically formats 20 June 2000 to 2000/06/20 and I can't figure out how to change it. Any ideas welcome! Paul Smith ------------------------------------------------------------- Paul Smith : paul.smith@bristol.ac.uk http://www.ilrt.bris.ac.uk/ Institute for Learning and Research Technology University of Bristol, BS8 1HH, UK Tel: 0117 928 7192 Fax: 0117 928 7112
In article <EXECMAIL.1000515173913.M@piell.bris.ac.uk>, Paul Smith <Paul.Smith@bristol.ac.uk> writes
Hi
ZOPE newbie alert:
I am trying to get ZOPE to publish dates in UK format. I am fine with getting todays date formatted as required by calling a dtml-var, but the problem is with putting up 'future-static' dates such as the example in the Content Managers Guide, where you want to do something like "This site will go live on..." using 'expected_date' which is a property with type date. This automatically formats 20 June 2000 to 2000/06/20 and I can't figure out how to change it.
http://www.zope.org/Members/AlexR/CustomDateFormats -- Regards, Graham Chiu gchiu<at>compkarori.co.nz http://www.compkarori.com/dynamo - The Homebuilt Dynamo http://www.compkarori.com/dbase - The dBase bulletin
participants (2)
-
Graham Chiu -
Paul Smith