Historical bug tracker for the Pacman package manager.
The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues
This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues
This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
FS#6468 - Localized dates for build/install date
Attached to Project:
Pacman
Opened by Aaron Griffin (phrakture) - Wednesday, 21 February 2007, 16:52 GMT
Last edited by Dan McGee (toofishes) - Friday, 13 June 2008, 19:50 GMT
Opened by Aaron Griffin (phrakture) - Wednesday, 21 February 2007, 16:52 GMT
Last edited by Dan McGee (toofishes) - Friday, 13 June 2008, 19:50 GMT
|
DetailsCurrently pacman stores build and install dates as a textual string. This not only bad for localization, but bad if we ever want to do any calculations / sorting based on dates. These should instead be stored as a numeric time_t. This will allow us to easily output localized time.
The complexity comes up when thinking about how to do this while still maintaining the old scheme... perhaps a check to see if the first char is a number or not and use that to decide which scheme to use? This is non critical, but a nice-to-have (and fairly simple to fix) |
This task depends upon
Closed by Dan McGee (toofishes)
Friday, 13 June 2008, 19:50 GMT
Reason for closing: Implemented
Additional comments about closing: Fixed/implemented way back in 3.1
Friday, 13 June 2008, 19:50 GMT
Reason for closing: Implemented
Additional comments about closing: Fixed/implemented way back in 3.1
Line 941 of makepkg:
builddate=$(LC_ALL= ; LANG= ; date -u "+%a %b %e %H:%M:%S %Y")
Gross.
http://www.w3.org/TR/NOTE-datetime
Thanks to Dan for pointing this out.
http://projects.archlinux.org/?p=pacman.git;a=commitdiff;h=47622eef4dd8fd86a0aa0e3ebdb7b33f7c9d6804