Thanks for this @realjohnward
Good news is I’ve isolated your problem to chrono, this line of code doesn’t seem to work in wasm. You can read more about wasm limitations here
There are also some possible solutions for getting UTC in wasm on chrono’s github
I haven’t tried the solutions yet but have a go, if you don’t succeed I’ll have another look in the coming days.
Hope that helps.