/* * Copyright (C) 2026 Fluxer Contributors * * This file is part of Fluxer. * * Fluxer is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * Fluxer is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with Fluxer. If not, see . */ import {Locales} from '@fluxer/constants/src/Locales'; export const DEFAULT_LOCALE = Locales.EN_US; export const MS_PER_SECOND = 1000; export const SECONDS_PER_MINUTE = 60; export const MINUTES_PER_HOUR = 60; export const HOURS_PER_DAY = 24; export const DAYS_PER_WEEK = 7; export const DAYS_PER_MONTH = 30; export const DAYS_PER_YEAR = 365; export const MS_PER_MINUTE = SECONDS_PER_MINUTE * MS_PER_SECOND; export const MS_PER_HOUR = MINUTES_PER_HOUR * MS_PER_MINUTE; export const MS_PER_DAY = HOURS_PER_DAY * MS_PER_HOUR; export const SECONDS_PER_HOUR = MINUTES_PER_HOUR * SECONDS_PER_MINUTE; export const SECONDS_PER_DAY = HOURS_PER_DAY * SECONDS_PER_HOUR;