Carlos Fenollosa 12 年之前
父节点
当前提交
9710192b70
共有 1 个文件被更改,包括 1 次插入1 次删除
  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"
 
         # Original post timestamp
-        timestamp="$(date -r $i)"
+        timestamp="$(date -R -r $i)"
 
         create_html_page "$contentfile" "$i.rebuilt" no "$title" "$timestamp"
         # keep the original timestamp!