From 910cdbe80c753fa7c65c5f8f92de0dab8d234872 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs?= Date: Tue, 9 Apr 2019 11:08:26 -0500 Subject: [PATCH] fix date --- new.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/new.sh b/new.sh index 5686cf7..00a797f 100644 --- a/new.sh +++ b/new.sh @@ -24,7 +24,7 @@ tag="$REPLY" # output o_author=$(printf '%s%s\n' "Author: " "$author") o_category=$(printf '%s%s\n' "Category: " "$category") -o_date=$(printf '%s%s\n' "Date: " "$(date +"%Y-%m-%d %I:%M")") +o_date=$(printf '%s%s\n' "Date: " "$(date +"%Y-%m-%d %T")") o_slug=$(printf '%s%s\n' "Slug: " "$slug") o_tag=$(printf '%s%s\n' "Tags: " "$tag") o_title=$(printf '%s%s\n' "Title: " "$title")