use long, 2038 is too close
This commit is contained in:
parent
c626817e1a
commit
109444f567
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue