             [org.satta.glob :refer [glob]]
             [robert.hooke :as hooke])
   (:import [clojure.lang #_IPersistentVector Seqable]
-           [java.util Calendar Date]
+           [java.text SimpleDateFormat]
+           [java.util Calendar Date Locale SimpleTimeZone]
            [java.lang.reflect Array]
            [java.io File FileInputStream FileOutputStream OutputStreamWriter
             Closeable]

      (assert (= (:sha expected-version) (:sha found-version)))
      (let [^Date found-date (:ctime found-version)
            ^Calendar found-cal (Calendar/getInstance
                                 (java.util.SimpleTimeZone. 0 "GMT")
                                 java.util.Locale/US)
            _ (.setTime found-cal found-date)
            adjusted-hours (mod (.get found-cal Calendar/HOUR_OF_DAY) 12)
            adjusted-hours (if (= 0 adjusted-hours) 12 adjusted-hours)


(def timestamp-fmt "yyyyMMdd_HHmmss")

(defn ^SimpleDateFormat gmt-date-formatter [^String fmt]
  (doto (SimpleDateFormat. fmt Locale/US)
    (.setTimeZone (SimpleTimeZone. 0 "GMT"))))

(defn formatted-timestamp
  [^String fmt t]
