 
 (defn seconds-part [seconds hundreds]
   (if (> hundreds 0)
-    (str seconds "," (format "%02d" (int hundreds)) "&nbsp;s")
-    (str seconds "&nbsp;s")))
+    (str seconds "," (format "%02d" (int hundreds)) " s")
+    (str seconds " s")))
 
 (defn minutes-part [minutes seconds]
   (if (> seconds 0)
-    (str minutes "&nbsp;min&nbsp;" seconds "&nbsp;s")
-    (str minutes "&nbsp;min")))
+    (str minutes " min " seconds " s")
+    (str minutes " min")))
 
 (defn to-human-time [duration]
   (try

          m-as-str (str "," m)]
    (if (> km 0)
      (if (= m 0)
        (str km "&nbsp;km")
        (str km "," (string/replace  (format "%03d" (int m)) #"0+$" "")  "&nbsp;km"))
      (if (> m 0)
        (str (int m) "m")
        "")))))

            hours (int (/ duration 360000))]
        (if (> hours 0)
          (if (or (> minutes 0) (> seconds 0))
            (str hours " h " (minutes-part minutes seconds))
            (str hours " h"))
          (if (or (> seconds 0) (> hundreds 0))
              (str minutes " min " (seconds-part seconds hundreds))
              (str minutes " min")))))
    (catch Exception exception#
      (.error logger (str exception# duration))
      "NaN")))
