diff --git a/share/jenny/lib/helpers.sh b/share/jenny/lib/helpers.sh index 45de72c..7b68850 100644 --- a/share/jenny/lib/helpers.sh +++ b/share/jenny/lib/helpers.sh @@ -127,7 +127,7 @@ function get_post_date_int() { } function get_post_date_rfc822() { - $DATE --rfc-822 --date="$(echo $(get_timestamp "$1") | $SED -e 's#\([0-9]\{4\}\)-\([0-9]\{2\}\)-\([0-9]\{2\}\)#\1/\2/\3#')" + $DATE --rfc-822 --date="$(stat -c %y "$1")" } function get_tags() {