diff options
| author | Paul Buetow <pbuetow@mimecast.com> | 2021-05-08 10:10:33 +0100 |
|---|---|---|
| committer | Paul Buetow <git@mx.buetow.org> | 2021-05-21 05:11:04 +0100 |
| commit | 7e4d159193d43efd6a6b824901b59d6ee01ba165 (patch) | |
| tree | 4c80c96bd12b32d4bb5171c2530a62a375a73d8d /buetow.org.sh | |
| parent | 233af588b4fd66ebc0ebc3d9be6b3a2605f14c8c (diff) | |
use gdate
Diffstat (limited to 'buetow.org.sh')
| -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" |
