Truncate incoming timestamps to parse_timestamp
to length 11 so that we can handle millisecond timestamps.
This commit is contained in:
parent
6d3cd53921
commit
cfc2b78998
@ -343,7 +343,7 @@ function timestamp {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function parse_timestamp {
|
function parse_timestamp {
|
||||||
date -d "@$1"
|
date -d "@$(echo $1 | cut -c -10)"
|
||||||
}
|
}
|
||||||
|
|
||||||
function refresh_config {
|
function refresh_config {
|
||||||
|
Loading…
Reference in New Issue
Block a user