How do I override Flurl's default behaviour when serializing objects to query string values? E.g. the below code
DateTime date = new DateTime(2017, 1, 2, 3, 4, 5);
Url url = "http://domain.com".SetQueryParam("date", date);
produces the following url:
http://domain.com?date=01%2F02%2F2017%2003%3A04%3A05
What I want is this:
http://domain.com?date=2017-01-02T03%3A04%3A05.0000000
which would be the result of serializing the date as follows:
date.ToString("O")