                   (case k
                     :iso-format (.format DateTimeFormatter/ISO_LOCAL_DATE_TIME ldt)
                     :format     (.format (dt-formatter v) ldt)
-                    :instant    (.toInstant ldt ^ZoneOffset (or (zone-id v) @system-zone))
+                    :instant    (.toInstant ldt (or (zone-offset v) @system-offset))
                     :julian     (julian-field ldt v)
                     :local-time lt
                     :local-date d

                    :iso-format (.format DateTimeFormatter/ISO_DATE ld)
                    :format     (.format (dt-formatter v) ld)
                    :julian     (julian-field ld v)
                    :weekday    weekday
                    :year-month ym
                    nil))})))

  (:require [clojure.core.protocols :as p]
            [clojure.datafy :as d])
  (:import (java.time YearMonth Month DayOfWeek Instant
                      LocalTime LocalDate LocalDateTime
                      ZonedDateTime OffsetDateTime
                      ZoneOffset ZoneId)
           (java.time.format DateTimeFormatter)
           (java.time.temporal IsoFields JulianFields TemporalAccessor)))

