Skip to content

Latest commit

 

History

History
15 lines (10 loc) · 621 Bytes

Culture.md

File metadata and controls

15 lines (10 loc) · 621 Bytes

@serenity-is/corelib / Culture

Variable: Culture

Culture: Locale

Current culture, e.g. CultureInfo.CurrentCulture. This is overridden by settings passed from a <script> element in the page with id ScriptCulture containing a JSON object if available. This element is generally created in the _LayoutHead.cshtml file for Serenity applications, so that the culture settings determined server, can be passed to the client.

Defined in

src/base/formatting.ts:95