Update user locale options

To set date and time format and 1st week day options please use user/update_locale:

svc=user/update_locale&params={"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 */
             }
}
Follow us on Facebook Gurtam Wialon Twitter Gurtam Wialon info@gurtam.com   |   Copyright © 2002-2024 Gurtam