Hook to stringify a DateTime before it goes through the Encoder. Return a plain, unencoded string; the encoder will percent‑encode it.
typedef DateSerializer = String Function(DateTime date);