add time_offset.

Signed-off-by: Jack <jack.wgm@gmail.com>