* fixes #7167 * spec: distinct types can be ordinal types * bootstrapping issue
This commit is contained in:
parent
57bc8d73b4
commit
1e97b420bb
4 changed files with 23 additions and 4 deletions
|
|
@ -1102,7 +1102,7 @@ else:
|
|||
|
||||
# In case of a 32-bit time_t, we fallback to the closest available
|
||||
# timezone information.
|
||||
var a = clamp(unix, low(CTime), high(CTime)).CTime
|
||||
var a = clamp(unix, low(CTime).int64, high(CTime).int64).CTime
|
||||
let tmPtr = localtime(a)
|
||||
if not tmPtr.isNil:
|
||||
let tm = tmPtr[]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue