[pacman-dev] makepkg3 improvements (for pacman-3.1)

Dan McGee dpmcgee at gmail.com
Mon Jun 11 00:02:12 EDT 2007

On 3/24/07, Andrew Fyfe <andrew at neptune-one.net> wrote:
> >>> - 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.

Interested in working on this? We need to make it backwards compatible
as well. What if we stuck both an old formatted time and new formatted
time in there, allowed pacman to read both (but prefer the newer), and
eventually phase out the old style? We need a way for it to transition


More information about the pacman-dev mailing list