summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Phillips <david@sighup.nz>2019-03-09 20:25:24 +1300
committerDavid Phillips <david@sighup.nz>2019-03-09 20:25:24 +1300
commitccc4870b6eda36b03d1a94e15af00dd06be08fa3 (patch)
tree1e87b1b3f4b82698f5d966686da3e64b3745e96e
parentaff198f833caa7cb2fe4569435a2211ba5aeff0e (diff)
downloaddotfiles-ccc4870b6eda36b03d1a94e15af00dd06be08fa3.tar.xz
Make date usage POSIX
-rw-r--r--bashrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/bashrc b/bashrc
index 9337809..05e3333 100644
--- a/bashrc
+++ b/bashrc
@@ -46,5 +46,5 @@ fi
[ -d ~/Maildir/new/ ] && [ "$(ls ~/Maildir/new/)" ] && echo 'New mail'
[ -z "$(ls -A ~/.cache/currency 2>/dev/null)" ] || for c in ~/.cache/currency/* ; do
- echo "$(cat $c) (at $(date +"%a %d %H:%M" --date=@$(stat -c %Y $c)))"
+ echo "$(cat $c) (at $(date -d $(stat -c %Y $c) +"%a %d %H:%M"))"
done