To set date and time format and 1st week day options please useĀ user/update_locale:
svc=user/update_locale¶ms={"userId":<long>, "locale": { "fd":<text>, "wd":<uint> } }
Parameters
Param | Description |
---|---|
userId | user id |
fd | date and time format (seeĀ here) |
wd | 1st week day: 1 – Monday; 7 – Sunday |
Response
{ "locale": { "fd":<text>, /* date and time format */ "wd":<uint> /* 1st week day: 1 - Monday, 7 - Sunday */ } }