24 Mar
2007
24 Mar
'07
12:35 p.m.
- fixed flyspray bug #6468 -- Localized dates for build/install date Ooo, we'll definitely look at this. Well fixed probably isn't the right word. I followed the suggestion of using the ISO 8601 date format YYYY-MM-DDThh:mm:ssTZD (eg 1997-07-16T19:20:30+01:00) in .PKGINFO, pacman/libalm still needs patched to localize the date. Why the hell did I say fixed. I've thought of a better solution. Set builddate (in .PKGINFO) to unix epoch, then when pacman displays it use ctime() (time.h). It converts a unix epoch to a localized time string based on /etc/localtime or the TZ enviroment variable.
Andrew