From 5a61aaee7d70ebf4cc09978259eeb51863edc037 Mon Sep 17 00:00:00 2001 From: David Coppit Date: Sat, 1 Apr 2017 22:38:09 -0400 Subject: [PATCH] Improve the format of the timestamp --- runas.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/runas.sh b/runas.sh index d8ac59a..41cd72b 100755 --- a/runas.sh +++ b/runas.sh @@ -3,7 +3,8 @@ #----------------------------------------------------------------------------------------------------------------------- function ts { - echo [`date '+%b %d %X'`] + echo [`date '+%Y-%m-%d %H:%M:%S'`] + } #-----------------------------------------------------------------------------------------------------------------------