[Python-Dev] time functions

Thomas Wouters thomas@xs4all.net
Tue, 16 Jan 2001 08:18:38 +0100


On Tue, Jan 16, 2001 at 08:11:38AM +0100, Fredrik Lundh wrote:
> thomas wrote:
> > - Making the time in time.strftime default to 'now', so that the above
> >   becomes the ever so slightly confusing:
> > 
> >   timestr = time.strftime("<format>")
> >   (confusing because it looks a bit like a regexp constructor...)

> where "now" is local time, I assume?

Yes. See the patch I'll upload later today (meetings first, grrr)

> since you're assuming a time zone, you could make it accept
> an integer as well...

Could, yes... I'll include it in the 2nd revision of the patch, it can be
rejected (or accepted) separately.

-- 
Thomas Wouters <thomas@xs4all.net>

Hi! I'm a .signature virus! copy me into your .signature file to help me spread!