BUILD_TIME in xserver

Clark Rawlins clark.rawlins at escient.com
Mon Jun 11 07:26:51 PDT 2007


On Mon, 2007-06-11 at 13:00 +0200, Michel Dänzer wrote:
> This isn't correct; 1xxxxxx / 10000 = 1xx % 10000 = 1xx.
True,  It sould be (1xxxxxx / 100000) % 100.

> 
> I've pushed a simpler fix which just uses %k instead of %H with date.
> Thanks for the detailed analysis of the problem though.

The problem with using %k is that during the hour after midnight you
will have the same problem.  The hour will be zero and the number will 
be interpreted as an octal number again.  There may be another simple
way to solve it but %k is still wrong for times in the hour after
midnight.

> 



More information about the xorg mailing list