parsetimestamp2

This commit is contained in:
Ivan Malison 2016-02-22 11:12:23 -08:00
parent 33cd4a051b
commit 8b390a2f77

View File

@ -328,6 +328,10 @@ function timestamp {
}
function parse_timestamp {
date -d "@$1"
}
function parse_timestamp2 {
date -d "@$(echo $1 | cut -c -10)" -Iseconds
}