gristlabs_grist-core/app/common/BrowserSettings.ts
George Gevoian a6e08883e0 (core) Simple localization support and currency selector.
Summary:
- Grist document has a associated "locale" setting that affects how currency is formatted.
- Currency selector for number format.

Test Plan: not done

Reviewers: dsagal

Reviewed By: dsagal

Subscribers: paulfitz

Differential Revision: https://phab.getgrist.com/D2977
2021-08-26 13:36:49 -07:00

10 lines
282 B
TypeScript

/**
* Describes the settings that a browser sends to the server.
*/
export interface BrowserSettings {
// The browser's timezone, must be one of `momet.tz.names()`.
timezone?: string;
// The browser's locale, should be read from Accept-Language header.
locale?: string;
}