diff options
| -rwxr-xr-x | diary | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -29,7 +29,7 @@ pushd $diary_location > /dev/null # Get the entry name -entry=$(date -d $1 +%Y-%m-%d) +entry=$(date -d $1 +%Y-%m-%d 2> /dev/null) if [ $? -ne 0 ] then entry=$(date +%Y-%m-%d) |
