From d0b25a4ed40582f5e2d21282c32c58164495c07b Mon Sep 17 00:00:00 2001 From: David Coppit Date: Sat, 1 Apr 2017 23:17:28 -0400 Subject: [PATCH] Improve the format of the timestamp --- mapids.sh | 2 +- runas.sh | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/mapids.sh b/mapids.sh index a250f27..9a3c6fb 100755 --- a/mapids.sh +++ b/mapids.sh @@ -3,7 +3,7 @@ #----------------------------------------------------------------------------------------------------------------------- function ts { - echo [`date '+%b %d %X'`] + echo [`date '+%Y-%m-%d %H:%M:%S'`] } #----------------------------------------------------------------------------------------------------------------------- diff --git a/runas.sh b/runas.sh index 41cd72b..9aa9898 100755 --- a/runas.sh +++ b/runas.sh @@ -4,7 +4,6 @@ function ts { echo [`date '+%Y-%m-%d %H:%M:%S'`] - } #-----------------------------------------------------------------------------------------------------------------------