PostgreSQL backup tool with Point-In-Time-Recovery and restore verification
TypeScript backupbackupsdatabasedatabase-backupdevopsdockergolangkubernetesmariadbmongodbmysqlpgpostgrespostgresqls3self-hostedsystem-administrationtoolsweb-ui
import type { Locale as AntdLocale } from 'antd/lib/locale';
import type { ConfigType } from 'dayjs';
import { createContext } from 'react';
import type { Locale } from './dictionaries';
export interface LocaleContextValue {
locale: Locale;
setLocale: (locale: Locale) => void;
antdLocale: AntdLocale;
formatNumber: (value: number, options?: Intl.NumberFormatOptions) => string;
formatRelativeTime: (date: ConfigType) => string;
}
export const LocaleContext = createContext<LocaleContextValue | undefined>(undefined);