cookutils diff web/cooker.cgi @ rev 628
cook: Aufs mountage failure cleanup
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jan 05 17:14:38 2014 +0000 (2014-01-05) |
parents | 9899fbd15073 |
children | b1b010c31c38 |
line diff
1.1 --- a/web/cooker.cgi Sun Aug 11 08:36:57 2013 +0000 1.2 +++ b/web/cooker.cgi Sun Jan 05 17:14:38 2014 +0000 1.3 @@ -40,7 +40,7 @@ 1.4 1.5 # RSS feed generator 1.6 if [ "$QUERY_STRING" == "rss" ]; then 1.7 - pubdate=$(date "+%a, %d %b %Y %X") 1.8 + pubdate=$(date "+%a, %d %b %Y %X %Z") 1.9 cat << EOT 1.10 <?xml version="1.0" encoding="utf-8" ?> 1.11 <rss version="2.0"> 1.12 @@ -48,8 +48,8 @@ 1.13 <title>SliTaz Cooker</title> 1.14 <description>The SliTaz packages cooker feed</description> 1.15 <link>$COOKER_URL</link> 1.16 - <lastBuildDate>$pubdate GMT</lastBuildDate> 1.17 - <pubDate>$pubdate GMT</pubDate> 1.18 + <lastBuildDate>$pubdate</lastBuildDate> 1.19 + <pubDate>$pubdate</pubDate> 1.20 EOT 1.21 for rss in $(ls -lt $FEEDS/*.xml | head -n 12) 1.22 do 1.23 @@ -331,7 +331,7 @@ 1.24 1.25 <p class="info"> 1.26 Packages: $inwok in the wok - $cooked cooked - $unbuilt unbuilt - 1.27 - Server date: $(date '+%Y-%m-%d %H:%M') 1.28 + Server date: $(date '+%Y-%m-%d %H:%M %Z') 1.29 </p> 1.30 <div class="pctbar"> 1.31 <div class="pct" style="width: ${pct}%;">${pct}%</div>