Improve the format of the timestamp
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
#-----------------------------------------------------------------------------------------------------------------------
|
#-----------------------------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
function ts {
|
function ts {
|
||||||
echo [`date '+%b %d %X'`]
|
echo [`date '+%Y-%m-%d %H:%M:%S'`]
|
||||||
}
|
}
|
||||||
|
|
||||||
#-----------------------------------------------------------------------------------------------------------------------
|
#-----------------------------------------------------------------------------------------------------------------------
|
||||||
|
|||||||
1
runas.sh
1
runas.sh
@@ -4,7 +4,6 @@
|
|||||||
|
|
||||||
function ts {
|
function ts {
|
||||||
echo [`date '+%Y-%m-%d %H:%M:%S'`]
|
echo [`date '+%Y-%m-%d %H:%M:%S'`]
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#-----------------------------------------------------------------------------------------------------------------------
|
#-----------------------------------------------------------------------------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user