gin/binding
lantw44 30b5f7e2d7
binding: avoid 2038 problem on 32-bit architectures (#2450)
Function setTimeField calls strconv.ParseInt with bit size 0 when
parsing Unix time, which means it is equivalent to specifying 32 on
32-bit architectures. This causes the function to suffer from the year
2038 problem. To fix it and keep the behavior the same on both 32-bit
and 64-bit architectures, explicitly specify bit size 64.

Co-authored-by: thinkerou <thinkerou@gmail.com>
2020-08-08 17:31:08 +08:00
..
2020-01-07 11:31:10 +08:00
2020-08-04 07:04:06 +08:00
2020-01-07 11:31:10 +08:00
2018-11-05 14:17:04 +08:00
2018-11-22 09:29:48 +08:00
2018-11-06 09:49:45 +08:00