cookutils rev 692

cooker.cgi: utc date
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Oct 10 15:30:05 2014 +0200 (2014-10-10)
parents 6b7249a17a47
children 38b417993ec2
files web/cooker.cgi
line diff
     1.1 --- a/web/cooker.cgi	Thu Sep 25 10:15:10 2014 +0200
     1.2 +++ b/web/cooker.cgi	Fri Oct 10 15:30:05 2014 +0200
     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 %Z")
     1.8 +	pubdate=$(date -u "+%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 @@ -327,7 +327,7 @@
    1.13  
    1.14  <p class="info">
    1.15  	Packages: $inwok in the wok - $cooked cooked - $unbuilt unbuilt -
    1.16 -	Server date: $(date '+%Y-%m-%d %H:%M %Z')
    1.17 +	Server date: $(date -u '+%Y-%m-%d %H:%M %Z')
    1.18  </p>
    1.19  <div class="pctbar">
    1.20  	<div class="pct" style="width: ${pct}%;">${pct}%</div>