implement flu_parse_ts() and flu_parse_t()