You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't know if there is something Janet should do here besides expose setlocale - we don't do anything to set or unset locales from environment variables, so if your OS or libc is not doing it, then Janet isn't doing it either.
Add os/setlocale as a very bare bones wrapper around setlocale. I spent some time trying to make thread local setlocale work, but each platform has it's own way of doing it and it was hard to make it consistent.
%a
ofos/strftime
can change according to locale.Setting locale through environment variables like
LANG
andLC_ALL
doesn't work.Even though my system uses glibc,
os/strftime
doesn't respect environment variables.The text was updated successfully, but these errors were encountered: