Skip to content
Permalink
Browse files

fix date / time_delta handling

check for time_delta < 0 when converting to uint32/uint64

call time_to_Xsec() when converting dates to network, instead of
just dividing by 10^N

but time deltas can just be divided by 10^N

fix cast date to uint64 so that it casts based on precision,
and not always casts to seconds
  • Loading branch information
alandekok committed Sep 24, 2019
1 parent 8ce3cea commit 326693a9fb003fdde339337d7c7ad16414e4d676
Showing with 249 additions and 28 deletions.
  1. +249 −28 src/lib/util/value.c

0 comments on commit 326693a

Please sign in to comment.
You can’t perform that action at this time.