главная|main page

состояние|status

блог|blog

файлы|files

программы|software

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbb.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/bb.sh b/bb.sh
index 2bfdb29..3cd0c65 100755
--- a/bb.sh
+++ b/bb.sh
@@ -227,7 +227,7 @@ if [ "$global_disqus" != "" ]; then
#
# $1 the file to edit
edit() {
- timestamp="$(date -r $1 +'%Y%m%d%k%M')"
+ timestamp="$(date -r $1 +'%Y%m%d%H%M')"
$EDITOR "$1"
touch -t $timestamp "$1"
}
@@ -623,7 +623,7 @@ rebuild_all_entries() {
create_html_page "$contentfile" "$i.rebuilt" no "$title" "$timestamp"
# keep the original timestamp!
- timestamp="$(date -r $i +'%Y%m%d%k%M')"
+ timestamp="$(date -r $i +'%Y%m%d%H%M')"
mv "$i.rebuilt" "$i"
chmod 644 "$i"
touch -t $timestamp "$i"