lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> 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