~etalab/sill.etalab.gouv.fr

fd8492eec49d8c52cc6c2a8b9cda9947eb56b24c — Bastien Guerry 22 days ago dacc3f9 master
Fix RSS feed
2 files changed, 5 insertions(+), 3 deletions(-)

M deps.edn
M src/clj/sillweb/views.clj
M deps.edn => deps.edn +2 -1
@@ 28,7 28,8 @@
  ring/ring-defaults                    {:mvn/version "0.3.3"}
  ring/ring-devel                       {:mvn/version "1.9.4"}
  ring/ring-jetty-adapter               {:mvn/version "1.9.4"}
  semantic-csv/semantic-csv             {:mvn/version "0.2.0"}}
  semantic-csv/semantic-csv             {:mvn/version "0.2.0"}
  clojure.java-time/clojure.java-time   {:mvn/version "0.3.3"}}

 :paths ["src" "src/clj" "src/cljc" "resources"]
 

M src/clj/sillweb/views.clj => src/clj/sillweb/views.clj +3 -2
@@ 10,7 10,8 @@
            [ring.util.anti-forgery :as afu]
            [ring.util.response :as response]
            [sillweb.i18n :as i]
            [sillweb.config :as config]))
            [sillweb.config :as config]
            [java-time :as t]))

(def ^{:doc "The URL for the latest SILL updates."}
  latest-updates


@@ 38,7 39,7 @@
                      :link        link
                      :description (:commentaire item)
                      :author      "Etalab"
                      :pubDate     (inst/read-instant-date
                      :pubDate     (t/instant
                                    (str (first (re-find #"(\d+)-(\d+)-(\d+)" (:date item)))
                                         "T10:00:00Z"))}))
                 (sill-updates)))))