SP.RegionalSettings object (sp.js)

SharePoint 2013

Represents regional settings that are used on the server that is running Microsoft SharePoint Foundation.

Last modified: June 28, 2013

Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013

var object = new SP.RegionalSettings()

The RegionalSettings object has the following members.

Constructor

The RegionalSettings object has the following constructor.

Constructor

Description

RegionalSettings

Initializes a new instance of the SP.RegionalSettings object.

Properties

The RegionalSettings object has the following properties.

Property

Description

adjustHijriDays

Gets or sets the number of days to extend or reduce the current month in Hijri calendars.

alternateCalendarType

Gets or sets an alternate calendar type that is used on the server.

AM

Gets the string that is used to represent A.M. on the server.

calendarType

Gets or sets the calendar type that is used on the server.

collation

Gets or sets the first week of the year used in calendars on the server.

collationLCID

Gets the locale identifier (LCID) for the collation rules that are used on the site.

dateFormat

Gets the date format that is used on the server.

dateSeparator

Gets the separator that is used for dates on the server.

decimalSeparator

Gets the separator that is used for decimals on the server.

digitGrouping

Gets the separator that is used in grouping digits.

firstDayOfWeek

Gets or sets the first day of the week used in calendars on the server.

firstWeekOfYear

Gets or sets the first week of the year used in calendars on the server.

isEastAsia

Gets a Boolean value that indicates whether the Web site locale is an East Asian locale.

isRightToLeft

Gets the separator that is used for decimals on the server.

isUIRightToLeft

Gets a Boolean value that indicates whether the Web site user interface (UI) uses a right-to-left language.

listSeparator

Gets the separator used in lists on the server.

localeId

Gets or sets the locale ID in use on the server.

negativeSign

Gets the symbol that is used to represent a negative sign on the server.

negNumberMode

Gets the negative number mode that is used for displaying negative numbers in calculated fields based on the locale of the server.

PM

Gets the string that is used to represent P.M. on the server.

positiveSign

Gets the symbol that is used to represent a positive sign on the server.

showWeeks

Gets or sets a Boolean value that specifies whether to display the week number in day or week views of a calendar.

thousandSeparator

Gets the thousand separator used for numbers on the server.

time24

Gets or sets a Boolean value that specifies whether to use a 24-hour time format in representing the hours of the day.

timeMarkerPosition

Gets a value that indicates whether A.M. and P.M. appear before or after the time string.

timeSeparator

Gets the time separator that is used on the server.

timeZone

Gets the time zone that is used on the server.

timeZones

Gets the collection of time zones used in a server farm.

workDayEndHour

Gets or sets the default hour at which the work day ends on the calendar that is in use on the server.

workDays

Gets or sets a number that represents the work days of Web site calendars.

workDayStartHour

Gets or sets the default hour at which the work day starts on the calendar that is in use on the server.

Endpoint URI structure

http://<sitecollection>/<site>/_api/web/RegionalSettings

HTTP requests

This resource supports the following HTTP commands:

POST syntax

POST http://<sitecollection>/<site>/_api/web/RegionalSettings
Show:
© 2015 Microsoft