Skip to content

Commit

Permalink
Merge pull request #551 from mixpanel/jared-floating-point-time
Browse files Browse the repository at this point in the history
Send time as Decimal to avoid 32-bit max int
  • Loading branch information
jaredmixpanel authored Jul 18, 2022
2 parents f28d534 + fa7be80 commit b85a552
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Track.swift
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class Track {
UserDefaults.standard.set(true, forKey: InternalKeys.mpDebugTrackedKey)
}
#endif
let epochMilliseconds = Int(round(epochInterval * 1000))
let epochMilliseconds = round(epochInterval * 1000)
let eventStartTime = timedEvents[ev] as? Double
var p = InternalProperties()
AutomaticProperties.automaticPropertiesLock.read {
Expand Down

0 comments on commit b85a552

Please sign in to comment.