Invalid dates in patchbomb messages (was: Re: [PATCH 0 of 1]py2exe patch updated)

volker.kleinfeld at volker.kleinfeld at
Sun Sep 11 14:18:43 CDT 2005

> >>> from time import gmtime, strftime
> >>> strftime("%a, %d %b %Y %H:%M:%S +0000", gmtime())
> 'Thu, 28 Jun 2001 14:17:15 +0000'
> (note, that you have to use gmtime, because there is no portable way to
> the numeric timezone (there is %z in GNU libc, but it is an extension
> for exactly this reason)

I can sent a patch based on Jan's suggestion, but I wan't manage before
Monday evening CET.


More information about the Mercurial mailing list