sp-dev-site-scripts icon indicating copy to clipboard operation
sp-dev-site-scripts copied to clipboard

setRegionalSettings - Action Failed

Open salesky opened this issue 6 years ago • 1 comments

Category

  • [ ] Question
  • [X ] Bug
  • [ ] Enhancement

Expected or Desired Behavior

Using SiteScripts and verb "setRegionalSettings" user should be able to set newly created site Regional Settings. { "verb": "setRegionalSettings", "timeZone": 6, /* UTC + 1 / "locale": 1060, / Slovenian / "sortOrder": 34, / Slovenian */ "hourFormat": "24" },

Observed Behavior

When creating new site using SiteTemplate I get "Action Failed" for Regional Settings and sites Regional Settings are not set correctly. I tried some other settings (for Croatian which is avaialable in https://github.com/SharePoint/sp-dev-site-scripts/tree/master/samples/site-apply-regional-settings) and it worked OK).

Steps to Reproduce

Create SiteTemplate by steps provided by Microsoft and try to set regionalSettings.

salesky avatar Dec 11 '18 08:12 salesky

Hey everyone, if I set the value "timeZone": 1 the got the problem here. screen-2019-02-05-64255

rheid avatar Feb 05 '19 17:02 rheid