Skip to content

Commit

Permalink
handle TypedValue nesting in tz fn
Browse files Browse the repository at this point in the history
  • Loading branch information
dpetran committed Feb 24, 2025
1 parent ec5667e commit e415746
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/clj/fluree/db/query/exec/eval.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@
(.toString (.getOffset ^OffsetDateTime (->offset-date-time (:value x))))
#{const/iri-xsd-time}
(.toString (.getOffset ^OffsetTime (->offset-time (:value x)))))
:cljs (.getTimeZoneOffset ^js/Date (if (string? x)
:cljs (.getTimeZoneOffset ^js/Date (if (string? (:value x))
(datatype/coerce (:value x) (:datatype-iri x))
x)))))

Expand Down

0 comments on commit e415746

Please sign in to comment.