they use old %C.%c, instead of just relying on the new fr_time_t
and fr_time_delta_t
-# Returns the current epoch time in ms
#
-# Sets Tmp-uint64-0 with the current epoch time in ms
-time_current_ms {
- &request.Tmp-uint64-0 := "%{expr:(%c*1000) + (%C/1000)}"
-}
-
-# Returns elapsed time in ms since time_current_ms
-#
-# Sets Tmp-uint64-1 with number of milliseconds
-time_elapsed_ms {
- &request.Tmp-uint64-1 := "%{expr:(%c*1000) + (%C/1000) - %{Tmp-uint64-0}}"
-}
-
# Handles the Expiration attribute
#
expiration {