cookutils rev 791
cooker.cgi: display UTC packages date
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jan 04 17:22:42 2016 +0100 (2016-01-04) |
parents | ee7a5acaa872 |
children | 43244b38369d |
files | web/cooker.cgi |
line diff
1.1 --- a/web/cooker.cgi Sat Dec 26 20:18:36 2015 +0100 1.2 +++ b/web/cooker.cgi Mon Jan 04 17:22:42 2016 +0100 1.3 @@ -137,7 +137,7 @@ 1.4 cd $PKGS 1.5 ls -1t *.tazpkg | head -20 | \ 1.6 while read file; do 1.7 - echo -n $(stat -c '%y' $PKGS/$file | cut -d . -f 1 | sed s/:[0-9]*$//) 1.8 + echo -n $(TZ=UTC stat -c '%y' $PKGS/$file | cut -d . -f 1 | sed s/:[0-9]*$//) 1.9 echo " : $file" 1.10 done 1.11 }