[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Slight oddity with os.date("")
- From: roberto@... (Roberto Ierusalimschy)
- Date: Wed, 21 Jun 2006 13:13:38 -0300
> Maybe you could cheat by appending a dummy char to the format, that
> you then remove from the real output. For errors, strftime would still
> return 0, but for "empty" strings it would return 1. That's an ugly
> hack, though; probably not worth the trouble.
We thought about this same hack (and came to the same conclusion :).
-- Roberto