Skip to content

Commit

Permalink
elaborate on locales
Browse files Browse the repository at this point in the history
  • Loading branch information
NyaomiDEV committed Jul 31, 2024
1 parent bc2e3e6 commit 2e7a349
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
8 changes: 6 additions & 2 deletions src/lib/config/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,12 @@ import { Config } from "./types";

export const defaultConfig: Config = {
app: {
language: "en",
view: "dashboard",
locale: {
language: "en",
firstWeekOfDayIsMonday: true,
TwelveHourClock: false,
},
view: "members",
filterQueryMembers: "",
filterQueryJournal: ""
},
Expand Down
6 changes: 5 additions & 1 deletion src/lib/config/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@ export type Config = {
};

export type AppConfig = {
language: string,
locale: {
language: string,
firstWeekOfDayIsMonday: boolean,
TwelveHourClock: boolean
},
view: ViewName,
filterQueryMembers: string,
filterQueryJournal: string
Expand Down

0 comments on commit 2e7a349

Please sign in to comment.