X-Git-Url: https://git.donarmstrong.com/?p=bugscan.git;a=blobdiff_plain;f=dohtml;h=3e1e04eeb6d43c3ce0282db44f9ebf67184d99c1;hp=316d5ee43eda229908648347759395aa66d0cf8b;hb=e993c9f56488aa3356bf8b9c794dbcc5bc0f511d;hpb=01a709e185f5e8f2b059293c3a770a28b28df927 diff --git a/dohtml b/dohtml index 316d5ee..3e1e04e 100755 --- a/dohtml +++ b/dohtml @@ -145,8 +145,8 @@ makepage() { mv -f $3.new $3 } -time=$(date -u --date="$(ls -Ll status | awk '{print $6, $7}'):00 $(date +%z)") -oldtime=$(date -u --date="$(ls -Ll status-old | awk '{print $6, $7}'):00 $(date +%z)") +time=$(date -u -d '@'$(($(stat -c '%Y' status) / 3600 * 3600))) +oldtime=$(date -u -d '@'$(($(stat -c '%Y' status-old) / 3600 * 3600))) title="Release-critical bugs status" makepage "debian" "$title" "$htmldir/debian/all.html" "$time"