aboutsummaryrefslogtreecommitdiffstats
path: root/node_modules/date-fns/esm/locale/eo/_lib/localize/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/date-fns/esm/locale/eo/_lib/localize/index.js')
-rw-r--r--node_modules/date-fns/esm/locale/eo/_lib/localize/index.js85
1 files changed, 85 insertions, 0 deletions
diff --git a/node_modules/date-fns/esm/locale/eo/_lib/localize/index.js b/node_modules/date-fns/esm/locale/eo/_lib/localize/index.js
new file mode 100644
index 0000000..0951485
--- /dev/null
+++ b/node_modules/date-fns/esm/locale/eo/_lib/localize/index.js
@@ -0,0 +1,85 @@
+import buildLocalizeFn from "../../../_lib/buildLocalizeFn/index.js";
+var eraValues = {
+ narrow: ['aK', 'pK'],
+ abbreviated: ['a.K.E.', 'p.K.E.'],
+ wide: ['antaŭ Komuna Erao', 'Komuna Erao']
+};
+var quarterValues = {
+ narrow: ['1', '2', '3', '4'],
+ abbreviated: ['K1', 'K2', 'K3', 'K4'],
+ wide: ['1-a kvaronjaro', '2-a kvaronjaro', '3-a kvaronjaro', '4-a kvaronjaro']
+};
+var monthValues = {
+ narrow: ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'],
+ abbreviated: ['jan', 'feb', 'mar', 'apr', 'maj', 'jun', 'jul', 'aŭg', 'sep', 'okt', 'nov', 'dec'],
+ wide: ['januaro', 'februaro', 'marto', 'aprilo', 'majo', 'junio', 'julio', 'aŭgusto', 'septembro', 'oktobro', 'novembro', 'decembro']
+};
+var dayValues = {
+ narrow: ['D', 'L', 'M', 'M', 'Ĵ', 'V', 'S'],
+ short: ['di', 'lu', 'ma', 'me', 'ĵa', 've', 'sa'],
+ abbreviated: ['dim', 'lun', 'mar', 'mer', 'ĵaŭ', 'ven', 'sab'],
+ wide: ['dimanĉo', 'lundo', 'mardo', 'merkredo', 'ĵaŭdo', 'vendredo', 'sabato']
+};
+var dayPeriodValues = {
+ narrow: {
+ am: 'a',
+ pm: 'p',
+ midnight: 'noktomezo',
+ noon: 'tagmezo',
+ morning: 'matene',
+ afternoon: 'posttagmeze',
+ evening: 'vespere',
+ night: 'nokte'
+ },
+ abbreviated: {
+ am: 'a.t.m.',
+ pm: 'p.t.m.',
+ midnight: 'noktomezo',
+ noon: 'tagmezo',
+ morning: 'matene',
+ afternoon: 'posttagmeze',
+ evening: 'vespere',
+ night: 'nokte'
+ },
+ wide: {
+ am: 'antaŭtagmeze',
+ pm: 'posttagmeze',
+ midnight: 'noktomezo',
+ noon: 'tagmezo',
+ morning: 'matene',
+ afternoon: 'posttagmeze',
+ evening: 'vespere',
+ night: 'nokte'
+ }
+};
+var ordinalNumber = function ordinalNumber(dirtyNumber) {
+ var number = Number(dirtyNumber);
+ return number + '-a';
+};
+var localize = {
+ ordinalNumber: ordinalNumber,
+ era: buildLocalizeFn({
+ values: eraValues,
+ defaultWidth: 'wide'
+ }),
+ quarter: buildLocalizeFn({
+ values: quarterValues,
+ defaultWidth: 'wide',
+ argumentCallback: function argumentCallback(quarter) {
+ return Number(quarter) - 1;
+ }
+ }),
+ month: buildLocalizeFn({
+ values: monthValues,
+ defaultWidth: 'wide'
+ }),
+ day: buildLocalizeFn({
+ values: dayValues,
+ defaultWidth: 'wide'
+ }),
+ dayPeriod: buildLocalizeFn({
+ values: dayPeriodValues,
+ defaultWidth: 'wide'
+ })
+};
+export default localize; \ No newline at end of file
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage