47 lines
984 B
JavaScript
47 lines
984 B
JavaScript
|
"use strict";
|
||
|
exports.formatLong = void 0;
|
||
|
var _index = require("../../_lib/buildFormatLongFn.js");
|
||
|
|
||
|
// Source: https://www.unicode.org/cldr/charts/32/summary/te.html
|
||
|
|
||
|
// CLDR #1807 - #1811
|
||
|
const dateFormats = {
|
||
|
full: "d, MMMM y, EEEE",
|
||
|
long: "d MMMM, y",
|
||
|
medium: "d MMM, y",
|
||
|
short: "dd-MM-yy",
|
||
|
};
|
||
|
|
||
|
// CLDR #1807 - #1811
|
||
|
const timeFormats = {
|
||
|
full: "h:mm:ss a zzzz",
|
||
|
long: "h:mm:ss a z",
|
||
|
medium: "h:mm:ss a",
|
||
|
short: "h:mm a",
|
||
|
};
|
||
|
|
||
|
// CLDR #1815 - #1818
|
||
|
const dateTimeFormats = {
|
||
|
full: "{{date}} {{time}}'కి'",
|
||
|
long: "{{date}} {{time}}'కి'",
|
||
|
medium: "{{date}} {{time}}",
|
||
|
short: "{{date}} {{time}}",
|
||
|
};
|
||
|
|
||
|
const formatLong = (exports.formatLong = {
|
||
|
date: (0, _index.buildFormatLongFn)({
|
||
|
formats: dateFormats,
|
||
|
defaultWidth: "full",
|
||
|
}),
|
||
|
|
||
|
time: (0, _index.buildFormatLongFn)({
|
||
|
formats: timeFormats,
|
||
|
defaultWidth: "full",
|
||
|
}),
|
||
|
|
||
|
dateTime: (0, _index.buildFormatLongFn)({
|
||
|
formats: dateTimeFormats,
|
||
|
defaultWidth: "full",
|
||
|
}),
|
||
|
});
|