[Zodb-checkins] CVS: StandaloneZODB/ZODB - TimeStamp.c:1.11
Guido van Rossum
guido@python.org
Wed, 23 Jan 2002 11:30:05 -0500
Update of /cvs-repository/StandaloneZODB/ZODB
In directory cvs.zope.org:/tmp/cvs-serv5338
Modified Files:
TimeStamp.c
Log Message:
Fix str() of a TimeStamp instance to have a fixed width.
=== StandaloneZODB/ZODB/TimeStamp.c 1.10 => 1.11 ===
TimeStamp_parts(self);
- l=sprintf(buf, "%4.4d-%2.2d-%2.2d %2.2d:%2.2d:%f",
+ l=sprintf(buf, "%4.4d-%2.2d-%2.2d %2.2d:%2.2d:%09.6f",
TimeStamp_y, TimeStamp_m, TimeStamp_d,
TimeStamp_mi/60, TimeStamp_mi%60, TimeStamp_sec(self));