aboutsummaryrefslogtreecommitdiffstats
path: root/node_modules/date-fns/locale/pl/_lib/localize/index.js
diff options
context:
space:
mode:
authorPinapelz <yukais@pinapelz.com>2025-06-28 17:26:46 -0700
committerPinapelz <yukais@pinapelz.com>2025-06-28 17:43:56 -0700
commite4fa1e69e7ebfb627c7198fd1a9881e9327ec4d4 (patch)
tree06284a538a6008eca75051399e47db4e5d50301c /node_modules/date-fns/locale/pl/_lib/localize/index.js
initial commit: scaffolding
Diffstat (limited to 'node_modules/date-fns/locale/pl/_lib/localize/index.js')
-rw-r--r--node_modules/date-fns/locale/pl/_lib/localize/index.js142
1 files changed, 142 insertions, 0 deletions
diff --git a/node_modules/date-fns/locale/pl/_lib/localize/index.js b/node_modules/date-fns/locale/pl/_lib/localize/index.js
new file mode 100644
index 0000000..2f59e7e
--- /dev/null
+++ b/node_modules/date-fns/locale/pl/_lib/localize/index.js
@@ -0,0 +1,142 @@
+"use strict";
+
+var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
+Object.defineProperty(exports, "__esModule", {
+ value: true
+});
+exports.default = void 0;
+var _index = _interopRequireDefault(require("../../../_lib/buildLocalizeFn/index.js"));
+var eraValues = {
+ narrow: ['p.n.e.', 'n.e.'],
+ abbreviated: ['p.n.e.', 'n.e.'],
+ wide: ['przed naszą erą', 'naszej ery']
+};
+var quarterValues = {
+ narrow: ['1', '2', '3', '4'],
+ abbreviated: ['I kw.', 'II kw.', 'III kw.', 'IV kw.'],
+ wide: ['I kwartał', 'II kwartał', 'III kwartał', 'IV kwartał']
+};
+var monthValues = {
+ narrow: ['S', 'L', 'M', 'K', 'M', 'C', 'L', 'S', 'W', 'P', 'L', 'G'],
+ abbreviated: ['sty', 'lut', 'mar', 'kwi', 'maj', 'cze', 'lip', 'sie', 'wrz', 'paź', 'lis', 'gru'],
+ wide: ['styczeń', 'luty', 'marzec', 'kwiecień', 'maj', 'czerwiec', 'lipiec', 'sierpień', 'wrzesień', 'październik', 'listopad', 'grudzień']
+};
+var monthFormattingValues = {
+ narrow: ['s', 'l', 'm', 'k', 'm', 'c', 'l', 's', 'w', 'p', 'l', 'g'],
+ abbreviated: ['sty', 'lut', 'mar', 'kwi', 'maj', 'cze', 'lip', 'sie', 'wrz', 'paź', 'lis', 'gru'],
+ wide: ['stycznia', 'lutego', 'marca', 'kwietnia', 'maja', 'czerwca', 'lipca', 'sierpnia', 'września', 'października', 'listopada', 'grudnia']
+};
+var dayValues = {
+ narrow: ['N', 'P', 'W', 'Ś', 'C', 'P', 'S'],
+ short: ['nie', 'pon', 'wto', 'śro', 'czw', 'pią', 'sob'],
+ abbreviated: ['niedz.', 'pon.', 'wt.', 'śr.', 'czw.', 'pt.', 'sob.'],
+ wide: ['niedziela', 'poniedziałek', 'wtorek', 'środa', 'czwartek', 'piątek', 'sobota']
+};
+var dayFormattingValues = {
+ narrow: ['n', 'p', 'w', 'ś', 'c', 'p', 's'],
+ short: ['nie', 'pon', 'wto', 'śro', 'czw', 'pią', 'sob'],
+ abbreviated: ['niedz.', 'pon.', 'wt.', 'śr.', 'czw.', 'pt.', 'sob.'],
+ wide: ['niedziela', 'poniedziałek', 'wtorek', 'środa', 'czwartek', 'piątek', 'sobota']
+};
+var dayPeriodValues = {
+ narrow: {
+ am: 'a',
+ pm: 'p',
+ midnight: 'półn.',
+ noon: 'poł',
+ morning: 'rano',
+ afternoon: 'popoł.',
+ evening: 'wiecz.',
+ night: 'noc'
+ },
+ abbreviated: {
+ am: 'AM',
+ pm: 'PM',
+ midnight: 'północ',
+ noon: 'południe',
+ morning: 'rano',
+ afternoon: 'popołudnie',
+ evening: 'wieczór',
+ night: 'noc'
+ },
+ wide: {
+ am: 'AM',
+ pm: 'PM',
+ midnight: 'północ',
+ noon: 'południe',
+ morning: 'rano',
+ afternoon: 'popołudnie',
+ evening: 'wieczór',
+ night: 'noc'
+ }
+};
+var dayPeriodFormattingValues = {
+ narrow: {
+ am: 'a',
+ pm: 'p',
+ midnight: 'o półn.',
+ noon: 'w poł.',
+ morning: 'rano',
+ afternoon: 'po poł.',
+ evening: 'wiecz.',
+ night: 'w nocy'
+ },
+ abbreviated: {
+ am: 'AM',
+ pm: 'PM',
+ midnight: 'o północy',
+ noon: 'w południe',
+ morning: 'rano',
+ afternoon: 'po południu',
+ evening: 'wieczorem',
+ night: 'w nocy'
+ },
+ wide: {
+ am: 'AM',
+ pm: 'PM',
+ midnight: 'o północy',
+ noon: 'w południe',
+ morning: 'rano',
+ afternoon: 'po południu',
+ evening: 'wieczorem',
+ night: 'w nocy'
+ }
+};
+var ordinalNumber = function ordinalNumber(dirtyNumber, _options) {
+ return String(dirtyNumber);
+};
+var localize = {
+ ordinalNumber: ordinalNumber,
+ era: (0, _index.default)({
+ values: eraValues,
+ defaultWidth: 'wide'
+ }),
+ quarter: (0, _index.default)({
+ values: quarterValues,
+ defaultWidth: 'wide',
+ argumentCallback: function argumentCallback(quarter) {
+ return quarter - 1;
+ }
+ }),
+ month: (0, _index.default)({
+ values: monthValues,
+ defaultWidth: 'wide',
+ formattingValues: monthFormattingValues,
+ defaultFormattingWidth: 'wide'
+ }),
+ day: (0, _index.default)({
+ values: dayValues,
+ defaultWidth: 'wide',
+ formattingValues: dayFormattingValues,
+ defaultFormattingWidth: 'wide'
+ }),
+ dayPeriod: (0, _index.default)({
+ values: dayPeriodValues,
+ defaultWidth: 'wide',
+ formattingValues: dayPeriodFormattingValues,
+ defaultFormattingWidth: 'wide'
+ })
+};
+var _default = localize;
+exports.default = _default;
+module.exports = exports.default; \ No newline at end of file
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage