diff --git a/dotfiles/lib/shellenv/functions.sh b/dotfiles/lib/shellenv/functions.sh index 539ee7f3..d107736e 100644 --- a/dotfiles/lib/shellenv/functions.sh +++ b/dotfiles/lib/shellenv/functions.sh @@ -343,7 +343,7 @@ function timestamp { } function parse_timestamp { - date -d "@$1" + date -d "@$(echo $1 | cut -c -10)" } function refresh_config {