use long, 2038 is too close

This commit is contained in:
Yann Esposito (Yogsototh) 2018-02-09 15:15:36 +01:00
parent c626817e1a
commit 109444f567
Signed by untrusted user who does not match committer: yogsototh
GPG key ID: 7B19A4C650D59646

View file

@ -7,7 +7,7 @@
(defn joda-time->intdate
[d]
{:pre [(joda-time? d)]}
(int (/ (to-long d) 1000)))
(long (/ (to-long d) 1000)))
(defn intdate->joda-time