From 84f29acbbab67d309243233b9eb970c45d4fec60 Mon Sep 17 00:00:00 2001 From: Lea Date: Sun, 6 Jul 2025 21:36:30 +0200 Subject: [PATCH] Small bugfix to ensure BusyBox compatibility --- newday | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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}')