From 1494641ab8b199215fc8319b7ea2f7df2638aa7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ronny=20L=C3=B8vtangen?= Date: Sat, 24 Apr 2021 22:20:16 +0200 Subject: [PATCH] Update content_negotiation.md Not 100% sure, but looks like it should be :date-format, not :data-format here, based on the example in the section above. --- doc/ring/content_negotiation.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/ring/content_negotiation.md b/doc/ring/content_negotiation.md index 90605ad7..3c73202d 100644 --- a/doc/ring/content_negotiation.md +++ b/doc/ring/content_negotiation.md @@ -134,5 +134,5 @@ If you inspect `m/default-options` it's only a map, therefore you can compose yo (m/create (-> m/default-options (assoc-in [:formats "application/json" :decoder-opts :bigdecimals] true) - (assoc-in [:formats "application/json" :encoder-opts :data-format] "yyyy-MM-dd")))) + (assoc-in [:formats "application/json" :encoder-opts :date-format] "yyyy-MM-dd")))) ```