This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author catlee
Recipients
Date 2006-03-23.20:06:07
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
This patch adds a timestamp() method to datetime
objects.  It is equivalent to:
time.mktime(self.timetuple())

I pulled out the dstflag calculation code from
datetime_timetuple into a new function, get_dstflag, so
that datetime_timestamp can make use of the same code.

The patch also includes updates to the datetime
documentation, and a simple unit test.
History
Date User Action Args
2007-08-23 15:47:14adminlinkissue1457227 messages
2007-08-23 15:47:14admincreate