I want to fetch the regional settings of currently logged in user NOT the current web.
Reason being, the regional settings and language settings is pushed through user profile service (or user might modify as well). So the regional settings of the web is different than the the regional settings set from the user profile.
During my investigations, SharePoint injects
_spRegionalSettings object on the page when we add e.g., NewsFeed webpart or when we have list view. There is
SP.DateTimeUtil.js file that SharePoint has internally to render date time based on user's settings.
I haven't found a way to achieve similar results so far.
Any help will be appreciated.