2007/9/19, Aaron Griffin firstname.lastname@example.org:
Carving my way through some old emails....
How does this sound for a sanity check while we do this conversion: If build/install date start with a non-digit, use old code, otherwise asssume it's an epoch?
What do you mean by epoch? ISO 8601 date format YYYY-MM-DDThh:mm:ssTZD (e.g. 1997-07-16T19:20:30+01:00) or just the Unix timestamp (number of seconds since 1970)?
Dan checked this out, it doesn't seem to be localized and hasn't changed in a while:
builddate=$(LC_ALL= ; LANG= ; date -u "+%a %b %e %H:%M:%S %Y")
If no one sees problems with this, I will move it to the master branch when I get a chance.