aboutsummaryrefslogtreecommitdiff
path: root/node_modules/moment/locale/pl.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/moment/locale/pl.js')
-rw-r--r--node_modules/moment/locale/pl.js19
1 files changed, 18 insertions, 1 deletions
diff --git a/node_modules/moment/locale/pl.js b/node_modules/moment/locale/pl.js
index af2c331f2..db466b6b5 100644
--- a/node_modules/moment/locale/pl.js
+++ b/node_modules/moment/locale/pl.js
@@ -63,7 +63,24 @@ var pl = moment.defineLocale('pl', {
calendar : {
sameDay: '[Dziś o] LT',
nextDay: '[Jutro o] LT',
- nextWeek: '[W] dddd [o] LT',
+ nextWeek: function () {
+ switch (this.day()) {
+ case 0:
+ return '[W niedzielę o] LT';
+
+ case 2:
+ return '[We wtorek o] LT';
+
+ case 3:
+ return '[W środę o] LT';
+
+ case 6:
+ return '[W sobotę o] LT';
+
+ default:
+ return '[W] dddd [o] LT';
+ }
+ },
lastDay: '[Wczoraj o] LT',
lastWeek: function () {
switch (this.day()) {