chiark / gitweb /
check-bkp-status.in: Include day-of-week name in the title.
authorMark Wooding <mdw@distorted.org.uk>
Thu, 6 Mar 2014 09:58:47 +0000 (09:58 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Thu, 6 Mar 2014 09:58:47 +0000 (09:58 +0000)
check-bkp-status.in

index 15afaddc2a30ad040af93731b61f8825c91c5840..6dd3efc91fc307550a73ce77f60180c3da0aaa94 100644 (file)
@@ -234,7 +234,7 @@ html_header () {
 </head>
 <body>
 
-<h1><tt>rsync-backup</tt> report: $now</tt></h1>
+<h1><tt>rsync-backup</tt> report: $now_dow $now</tt></h1>
 EOF
 }
 
@@ -433,6 +433,7 @@ esac
 
 now=$(date +"%Y-%m-%d")
 now_time=$(date +"%H:%M:%S %z")
+now_dow=$(date +"%A")
 now_jdn=$(julian $now)
 . "$conf"
 failure_logs