I never tried it, but it seems if the set_integer_now_func will help to allow you to use the integer:
https://github.com/timescale/timescaledb/blob/d1d74dcc92892c72fe93ddab7002026d2aaecdd7/tsl/src/bgw_policy/compression_api.c#L120