This commit is contained in:
parent
9dae5ede60
commit
9ed2ad3390
2 changed files with 2 additions and 2 deletions
|
@ -20,7 +20,7 @@ in
|
|||
text = ''
|
||||
# Based on https://github.com/rwxrob/dot/blob/main/scripts/hnow.
|
||||
|
||||
echo "== $(${lib.getExe now})"
|
||||
echo "== $(${lib.getExe now} "$*")"
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
|
|
@ -15,7 +15,7 @@ in
|
|||
text = ''
|
||||
# Based on https://github.com/rwxrob/dot/blob/main/scripts/now.
|
||||
|
||||
out=$(date "+%A, %B %e, %Y, %R %Z")
|
||||
out=$(date "+%A, %B %e, %Y, %R %Z" "-d ''${*:-now}")
|
||||
|
||||
echo "''${out// / }"
|
||||
'';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue