sanity
Version:
Sanity is a real-time content infrastructure with a scalable, hosted backend featuring a Graph Oriented Query Language (GROQ), asset pipelines and fast edge caches
30 lines (26 loc) • 635 B
text/typescript
import {studioDefaultLocaleResources} from './bundles/studio'
import {validationLocaleResources} from './bundles/validation'
import {defineLocale} from './helpers'
/**
* The default US English locale for the studio.
*
* @internal
* @hidden
*/
export const usEnglishLocale = defineLocale({
id: 'en-US',
title: 'English (US)',
bundles: [studioDefaultLocaleResources, validationLocaleResources],
weekInfo: {
firstDay: 7, // Sunday
weekend: [6, 7], // Saturday, Sunday
minimalDays: 1,
},
})
/**
* The default locale for the studio.
*
* @internal
* @hidden
*/
export const defaultLocale = usEnglishLocale