Server IP : 66.29.146.62 / Your IP : 216.73.216.2 Web Server : LiteSpeed System : Linux premium231.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64 User : dokkdzvi ( 925) PHP Version : 8.1.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/dokkdzvi/itsluxury-sa.store/controlPanel/assets/plugins/moment/src/lib/locale/ |
Upload File : |
import { getLocale } from './locales'; import { createUTC } from '../create/utc'; function get (format, index, field, setter) { var locale = getLocale(); var utc = createUTC().set(setter, index); return locale[field](utc, format); } function list (format, index, field, count, setter) { if (typeof format === 'number') { index = format; format = undefined; } format = format || ''; if (index != null) { return get(format, index, field, setter); } var i; var out = []; for (i = 0; i < count; i++) { out[i] = get(format, i, field, setter); } return out; } export function listMonths (format, index) { return list(format, index, 'months', 12, 'month'); } export function listMonthsShort (format, index) { return list(format, index, 'monthsShort', 12, 'month'); } export function listWeekdays (format, index) { return list(format, index, 'weekdays', 7, 'day'); } export function listWeekdaysShort (format, index) { return list(format, index, 'weekdaysShort', 7, 'day'); } export function listWeekdaysMin (format, index) { return list(format, index, 'weekdaysMin', 7, 'day'); }