I have written a CV product for Zope. Basically it contains a list of competencies. Each competency has a start and end date. I have used Zopes DateTime object for this, and that is the problem, as it will only go back to 1970. But some of the users has educations and jobs from before 1970, so I also need to represent dates before 1970. Is there a simple workaround for this, or do I need to use something like mxDateTime for the task? regards Max M
Max M wrote at 2003-10-22 11:35 +0200:
I have written a CV product for Zope. Basically it contains a list of competencies. Each competency has a start and end date.
I have used Zopes DateTime object for this, and that is the problem, as it will only go back to 1970.
In principle, "DateTime" can handle dates before "1970". Just some operations are broken, such as e.g. the constructor taking integer parameters. You can e.g. use "d= DateTime('1900/01/01')" and it gives you correctly 1900-01-01. Dieter
participants (2)
-
Dieter Maurer -
Max M