≈ the.bay.news

Getting Timezone aware time in WASM

Ziggit
Getting Timezone aware time in WASM
Context is my Calorie tracker project that needs to compile to WASM. It’s only dependency is Sokol, which means that it uses libc and emscripten. For native targets I was able to use libc to get the timezone time (AFAIK there’s no way in the zig standard library for this, if there’s a clean zig way to do it then I would be very glad to here it, as this is the only translate-C code that my app uses at all, so it would be nice to eliminate that dependency) Either way - I could not figure out ...

0 comments

Sign in to join the discussion — your thebay.events account works here.

No comments yet.