Truncate incoming timestamps to parse_timestamp

to length 11 so that we can handle millisecond timestamps.
This commit is contained in:
Ivan Malison 2015-07-29 16:35:08 -07:00
parent 6d3cd53921
commit cfc2b78998

View File

@ -343,7 +343,7 @@ function timestamp {
}
function parse_timestamp {
date -d "@$1"
date -d "@$(echo $1 | cut -c -10)"
}
function refresh_config {