mirror of
https://github.com/janet-lang/janet
synced 2024-12-24 23:40:27 +00:00
Formatting.
This commit is contained in:
parent
0b03ddb21b
commit
02f53ca014
@ -1906,9 +1906,9 @@ JANET_CORE_FN(os_mktime,
|
||||
#endif
|
||||
|
||||
JANET_CORE_FN(os_setlocale,
|
||||
"(os/setlocale category &opt locale)",
|
||||
"Set the system locale, which affects how dates, currencies, and numbers are formatted. "
|
||||
"Passing nil to locale will return the current locale.") {
|
||||
"(os/setlocale category &opt locale)",
|
||||
"Set the system locale, which affects how dates and numbers are formatted. "
|
||||
"Passing nil to locale will return the current locale.") {
|
||||
janet_arity(argc, 1, 2);
|
||||
const char *locale_name = janet_optcstring(argv, argc, 1, NULL);
|
||||
int category_int = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user