I am wondering if anyone can help me, I am trying to change the date format in swagger UI from
2020-03-07T14:49:48.549Z
to
07-03-2020T14:49
I am trying to remove the seconds and put the date format into "dd/MM/yyyy HH:mm", now I have tried
services.AddControllers()
.AddNewtonsoftJson(options =>
{
var dateConverter = new Newtonsoft.Json.Converters.IsoDateTimeConverter
{
DateTimeFormat = "dd'/'MM'/'yyyy HH:mm:ss"
};
options.SerializerSettings.Converters.Add(dateConverter);
options.SerializerSettings.Culture = new CultureInfo("en-IE");
options.SerializerSettings.DateFormatHandling = DateFormatHandling.IsoDateFormat;
})
I seen various example on the web and none of which seems to work.

