Skip to content

Commit

Permalink
fix int overflow in 32-bit
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander-Barth committed Jun 22, 2018
1 parent 02a97ed commit 9a484d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/time.jl
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const DN_GREGORIAN_CALENDAR = -100840 + DATENUM_OFFSET
# returns 0000-12-31T00:00:00
# 678576 is the output of datenum_prolepticgregorian(-1,12,31)

const DATETIME_OFFSET = Dates.Millisecond(678576 * (24*60*60*1000))
const DATETIME_OFFSET = Dates.Millisecond(678576 * (24*60*60*Int64(1000)))


"""
Expand Down

0 comments on commit 9a484d5

Please sign in to comment.