Improve the format of the timestamp

This commit is contained in:
David Coppit
2017-04-01 22:40:11 -04:00
parent 5a61aaee7d
commit 0fc87b7b80

View File

@@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
function ts { function ts {
echo [`date '+%b %d %X'`] MASTER: echo [`date '+%Y-%m-%d %H:%M:%S'`] MASTER:
} }
echo "$(ts) Starting master controller" echo "$(ts) Starting master controller"