Skip to content

Commit

Permalink
modify plenish
Browse files Browse the repository at this point in the history
  • Loading branch information
Laurence Chen committed May 23, 2023
1 parent 00ff409 commit 225a58d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lambdaisland/plenish.clj
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@
:db.type/keyword (str (when (qualified-ident? value)
(str (namespace value) "/"))
(name value))
:db.type/instant [:raw (format "to_timestamp(%.3f)" (double (/ (.getTime ^java.util.Date value) 1000)))]
:db.type/instant [:raw (format "epoch_ms(%d)" (inst-ms value))]
value))

;; The functions below are the heart of the process
Expand Down

0 comments on commit 225a58d

Please sign in to comment.