diff --git a/newday b/newday index d6586f2..9a64f59 100755 --- a/newday +++ b/newday @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh # This script is intended to be run via cron. # It creates a folder structure in home for the current date in the following format: @@ -20,7 +20,7 @@ ROOT_DIR=$HOME/$DIR_NAME TODAY_SYM=$HOME/Today # Present day -TODAY=$(date --iso-8601) +TODAY=$(date -I) YEAR=$(echo $TODAY | awk -F"-" '{print $1}') MONTH=$(echo $TODAY | awk -F"-" '{print $2}') DAY=$(echo $TODAY | awk -F"-" '{print $3}')