[pacman-dev] makepkg3 improvements (for pacman-3.1)
Andrew Fyfe
andrew at neptune-one.net
Sat Mar 24 08:35:22 EDT 2007
>>> - 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
More information about the pacman-dev
mailing list