@commercetools-uikit/calendar-time-utils 19.17.1 → 19.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -84,14 +84,6 @@ const DATE_FORMAT_LOCALIZED_MAPPINGS = {
|
|
|
84
84
|
pt: {
|
|
85
85
|
// DD/MM/YYYY - HH:mm -> DD/MM/AAAA - HH:mm
|
|
86
86
|
[formatToken.YYYY]: 'AAAA'
|
|
87
|
-
},
|
|
88
|
-
'zh-CN': {
|
|
89
|
-
// YYYY/MM/DD - HH:mm -> 年/月/日 - 小时:分钟
|
|
90
|
-
[formatToken.HH]: '小时',
|
|
91
|
-
[formatToken.mm]: '分钟',
|
|
92
|
-
[formatToken.DD]: '日',
|
|
93
|
-
[formatToken.MM]: '月',
|
|
94
|
-
[formatToken.YYYY]: '年'
|
|
95
87
|
}
|
|
96
88
|
};
|
|
97
89
|
|
|
@@ -249,7 +241,7 @@ const getLocalizedDateTimeFormatPattern = function (locale) {
|
|
|
249
241
|
};
|
|
250
242
|
|
|
251
243
|
// NOTE: This string will be replaced on build time with the package version.
|
|
252
|
-
var version = "19.
|
|
244
|
+
var version = "19.18.0";
|
|
253
245
|
|
|
254
246
|
exports.changeDateInMonth = changeDateInMonth;
|
|
255
247
|
exports.changeMonth = changeMonth;
|
|
@@ -84,14 +84,6 @@ const DATE_FORMAT_LOCALIZED_MAPPINGS = {
|
|
|
84
84
|
pt: {
|
|
85
85
|
// DD/MM/YYYY - HH:mm -> DD/MM/AAAA - HH:mm
|
|
86
86
|
[formatToken.YYYY]: 'AAAA'
|
|
87
|
-
},
|
|
88
|
-
'zh-CN': {
|
|
89
|
-
// YYYY/MM/DD - HH:mm -> 年/月/日 - 小时:分钟
|
|
90
|
-
[formatToken.HH]: '小时',
|
|
91
|
-
[formatToken.mm]: '分钟',
|
|
92
|
-
[formatToken.DD]: '日',
|
|
93
|
-
[formatToken.MM]: '月',
|
|
94
|
-
[formatToken.YYYY]: '年'
|
|
95
87
|
}
|
|
96
88
|
};
|
|
97
89
|
|
|
@@ -248,7 +240,7 @@ const getLocalizedDateTimeFormatPattern = function (locale) {
|
|
|
248
240
|
};
|
|
249
241
|
|
|
250
242
|
// NOTE: This string will be replaced on build time with the package version.
|
|
251
|
-
var version = "19.
|
|
243
|
+
var version = "19.18.0";
|
|
252
244
|
|
|
253
245
|
exports.changeDateInMonth = changeDateInMonth;
|
|
254
246
|
exports.changeMonth = changeMonth;
|
|
@@ -68,14 +68,6 @@ const DATE_FORMAT_LOCALIZED_MAPPINGS = {
|
|
|
68
68
|
pt: {
|
|
69
69
|
// DD/MM/YYYY - HH:mm -> DD/MM/AAAA - HH:mm
|
|
70
70
|
[formatToken.YYYY]: 'AAAA'
|
|
71
|
-
},
|
|
72
|
-
'zh-CN': {
|
|
73
|
-
// YYYY/MM/DD - HH:mm -> 年/月/日 - 小时:分钟
|
|
74
|
-
[formatToken.HH]: '小时',
|
|
75
|
-
[formatToken.mm]: '分钟',
|
|
76
|
-
[formatToken.DD]: '日',
|
|
77
|
-
[formatToken.MM]: '月',
|
|
78
|
-
[formatToken.YYYY]: '年'
|
|
79
71
|
}
|
|
80
72
|
};
|
|
81
73
|
|
|
@@ -233,6 +225,6 @@ const getLocalizedDateTimeFormatPattern = function (locale) {
|
|
|
233
225
|
};
|
|
234
226
|
|
|
235
227
|
// NOTE: This string will be replaced on build time with the package version.
|
|
236
|
-
var version = "19.
|
|
228
|
+
var version = "19.18.0";
|
|
237
229
|
|
|
238
230
|
export { changeDateInMonth, changeMonth, changeTime, createCalendarItems, createItemDateTimeToString, createSuggestedItems, formatDate, formatDefaultTime, formatTime, getCalendarDayLabel, getDateInMonth, getDaysInMonth, getLocalizedDateTimeFormatPattern, getMonthCalendarLabel, getPaddingDayCount, getPreviousDay, getStartOf, getToday, getWeekdayNames, getYearCalendarLabel, isSameDay, parseInputText, version };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-uikit/calendar-time-utils",
|
|
3
3
|
"description": "Utilities to work with time values for a calendar.",
|
|
4
|
-
"version": "19.
|
|
4
|
+
"version": "19.18.0",
|
|
5
5
|
"bugs": "https://github.com/commercetools/ui-kit/issues",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@babel/runtime": "^7.20.13",
|
|
23
23
|
"@babel/runtime-corejs3": "^7.20.13",
|
|
24
|
-
"@commercetools-uikit/utils": "19.
|
|
24
|
+
"@commercetools-uikit/utils": "19.18.0"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"moment-timezone": "0.5.46"
|