parsetimestamp2
This commit is contained in:
parent
33cd4a051b
commit
8b390a2f77
@ -328,6 +328,10 @@ function timestamp {
|
||||
}
|
||||
|
||||
function parse_timestamp {
|
||||
date -d "@$1"
|
||||
}
|
||||
|
||||
function parse_timestamp2 {
|
||||
date -d "@$(echo $1 | cut -c -10)" -Iseconds
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user