def Instant.from_unix
import bend-time-lib@0.4.0.1/instant.bend as Instantimport Base
48def Instant.from_unix(+secs: U32) -> Instant:
49 Instant{
50 U32.add(U32.div(secs, 86400), Instant.epoch_days()),
51 U32.mod(secs, 86400),
52 0
53 }
import bend-time-lib@0.4.0.1/instant.bend as Instantimport Base
48def Instant.from_unix(+secs: U32) -> Instant:
49 Instant{
50 U32.add(U32.div(secs, 86400), Instant.epoch_days()),
51 U32.mod(secs, 86400),
52 0
53 }