mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 15:59:52 +03:00
remove custom formatter
This commit is contained in:
@@ -1,10 +1,9 @@
|
||||
import type { FormattersInitializer } from 'typesafe-i18n';
|
||||
import type { Locales, Formatters } from './i18n-types';
|
||||
import { date } from 'typesafe-i18n/formatters';
|
||||
|
||||
export const initFormatters: FormattersInitializer<Locales, Formatters> = (locale: Locales) => {
|
||||
const formatters: Formatters = {
|
||||
weekday: date(locale, { weekday: 'long' })
|
||||
// add your formatter functions here
|
||||
};
|
||||
|
||||
return formatters;
|
||||
|
||||
Reference in New Issue
Block a user