mmunity Examples</a></div><hr><div class="binding"><span id="os/setlocale" class="binding-sym">os/setlocale</span> <span class="binding-type">cfunction</span> <span class="binding-type"><a href="https://github.com/janet-lang/janet/blob/0d9e999/src/core/os.c#L1895">source</a></span> <pre class="binding-text">(os/setlocale &amp;opt locale category)

Set the system locale, which affects how dates and numbers are formatted. Passing nil to locale will return the current locale. Category can be one of:

 * :all (