Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Make uid.Timestamp work on 32bit architectures (#11353)
strconv.Atoi fails because the nanoseconds part of the string does not fit in an int, instead use ParseInt to get an int64. As time.Date only takes an int for the nanoseconds part, use Add() separately instead as it takes a Duration, which is an int64.
- Loading branch information