Add missing () to function date_parse

This commit is contained in:
Peter Dave Hello committed 2021-02-01 18:48:55 +08:00
1 parent 539c30b823
commit 6ababe9960
1 file changed
+1 -1
+1 -1
View File
@@ -86,7 +86,7 @@ fi
EXCLUDE_IDS_FILE="exclude_ids"
EXCLUDE_CONTAINER_IDS_FILE="exclude_container_ids"
function date_parse {
function date_parse() {
if date --utc >/dev/null 2>&1; then
# GNU/date
echo $(date -u --date "${1}" "+%s")