WebAssembly / wasi-clocks

Clocks API for WASI
37 stars 14 forks source link

Make `utc-offset` signed. #36

Closed sunfishcode closed 1 year ago

sunfishcode commented 1 year ago

It's common to work with negative UTC offsets so make the utc-offset field and function signed.

sunfishcode commented 1 year ago

I don't expect this is controversial; it's just fixing an obvious-in-hindsight oversight.