[Zope] ExtFile date format

Mike Bunyan mrbun@bigfoot.com
Thu, 23 Jan 2003 22:22:17 +0000


I would like to change the date format used in ExtFile to include the
year like %Y%m%d%H%M%S. At present the script will on accept
%m%d%H%M%S

Using the extra characters created by %Y gets the zope error:
Error Type: ValueError
Error Value: int() literal too large: 20030123222057

I am setting the FILE_FORMAT = "%n-%t%e"
Changing Line 590 to:
counter = int(DateTime().strftime('%Y%m%d%H%M%S'))

What's else needs to be changed please?

TIA
Mike Bunyan