@serenity-is/corelib / resetCultureSettings
Function: resetCultureSettings()
resetCultureSettings():
void
Defined in: src/base/formatting.ts:121
Resets Culture to its default values derived from Invariant.
Returns
void
Remarks
- Sets
dateOrderto"dmy",dateFormatto"dd/MM/yyyy", and installs astringComparebased onString.prototype.localeComparewithdocument.documentElement.langwhen available. - If a
<script id="ScriptCulture">JSON block exists, its properties override the defaults (with special handling forDecimalSeparator/GroupSeparator). - Exports in
vite8-symbol-typeinfo-workaround.mdnote that noSymbol.typeInfoside-effects occur here.