aboutsummaryrefslogtreecommitdiff
path: root/node_modules/moment/src/locale/pl.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/moment/src/locale/pl.js')
-rwxr-xr-x[-rw-r--r--]node_modules/moment/src/locale/pl.js19
1 files changed, 18 insertions, 1 deletions
diff --git a/node_modules/moment/src/locale/pl.js b/node_modules/moment/src/locale/pl.js
index 559163405..505381a9a 100644..100755
--- a/node_modules/moment/src/locale/pl.js
+++ b/node_modules/moment/src/locale/pl.js
@@ -57,7 +57,24 @@ export default 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()) {