diff options
Diffstat (limited to 'mutt-display-filter.sh')
-rwxr-xr-x | mutt-display-filter.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mutt-display-filter.sh b/mutt-display-filter.sh index 7653d5d..c91612e 100755 --- a/mutt-display-filter.sh +++ b/mutt-display-filter.sh @@ -11,5 +11,6 @@ else fi # Rewrite date to local time -echo "${MESSAGE}" | sed -r "s/^Date:\\s*(([F-Wa-u]{3},\\s*)?[[:digit:]]{1,2}\\s+[A-Sa-y]{3}\\s+[[:digit:]]{4}\\s+[[:digit:]]{1,2}:[[:digit:]]{1,2}(:[[:digit:]]{1,2})?\\s+[+-][[:digit:]]{4})/date +'Date: %a, %d %b %Y %H:%M:%S %z' -d '\\1'/e" +echo "${MESSAGE}" +#| sed -r "s/^Date:\\s*(([F-Wa-u]{3},\\s*)?[[:digit:]]{1,2}\\s+[A-Sa-y]{3}\\s+[[:digit:]]{4}\\s+[[:digit:]]{1,2}:[[:digit:]]{1,2}(:[[:digit:]]{1,2})?\\s+[+-][[:digit:]]{4})/date +'Date: %a, %d %b %Y %H:%M:%S %z' -d '\\1'/e" |