Carlos Fenollosa 12 years ago
parent
commit
9710192b70
1 changed files with 1 additions and 1 deletions
  1. 1 1
      bb.sh

+ 1 - 1
bb.sh

@@ -557,7 +557,7 @@ rebuild_all_entries() {
         awk '/<!-- text begin -->/, /<!-- text end -->/{if (!/<!-- text begin -->/ && !/<!-- text end -->/) print}' "$i" >> "$contentfile"
         awk '/<!-- text begin -->/, /<!-- text end -->/{if (!/<!-- text begin -->/ && !/<!-- text end -->/) print}' "$i" >> "$contentfile"
 
 
         # Original post timestamp
         # Original post timestamp
-        timestamp="$(date -r $i)"
+        timestamp="$(date -R -r $i)"
 
 
         create_html_page "$contentfile" "$i.rebuilt" no "$title" "$timestamp"
         create_html_page "$contentfile" "$i.rebuilt" no "$title" "$timestamp"
         # keep the original timestamp!
         # keep the original timestamp!