diff options
| author | Paul Buetow <pbuetow@mimecast.com> | 2021-05-08 10:10:33 +0100 |
|---|---|---|
| committer | Paul Buetow <pbuetow@mimecast.com> | 2021-05-08 10:10:33 +0100 |
| commit | 6e9da4051378222ada0763b784a03654afd43a43 (patch) | |
| tree | 914391b43d8c3b627d6215ed8b0de74a33712301 | |
| parent | 1b452da078852821097baad6cdc7bd6cdb37f07e (diff) | |
use gdate
| -rwxr-xr-x | buetow.org.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/buetow.org.sh b/buetow.org.sh index ce35b7e3..b2df6aa3 100755 --- a/buetow.org.sh +++ b/buetow.org.sh @@ -85,7 +85,7 @@ atomfeed::meta () { local summary=$(sed -n '/^[A-Z]/ { p; q; }' "$gmi_file_path" | tr '"' "'") # Extract the date from the file name. local filename_date=$(basename $gmi_file_path | cut -d- -f1,2,3) - local date=$($DATE --iso-8601=seconds --date "$filename_date $(date +%H:%M:%S)") + local date=$($DATE --iso-8601=seconds --date "$filename_date $($DATE +%H:%M:%S)") cat <<META | tee "$meta_file" local meta_date="$date" |
