@commercetools-uikit/calendar-time-utils 16.6.1 → 16.7.1
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.
|
@@ -82,6 +82,10 @@ const DATE_FORMAT_LOCALIZED_MAPPINGS = {
|
|
|
82
82
|
[formatToken.DD]: 'JJ',
|
|
83
83
|
[formatToken.YYYY]: 'AAAA'
|
|
84
84
|
},
|
|
85
|
+
pt: {
|
|
86
|
+
// DD/MM/YYYY - HH:mm -> DD/MM/AAAA - HH:mm
|
|
87
|
+
[formatToken.YYYY]: 'AAAA'
|
|
88
|
+
},
|
|
85
89
|
'zh-CN': {
|
|
86
90
|
// YYYY/MM/DD - HH:mm -> 年/月/日 - 小时:分钟
|
|
87
91
|
[formatToken.HH]: '小时',
|
|
@@ -228,7 +232,7 @@ const getLocalizedDateTimeFormatPattern = function (locale) {
|
|
|
228
232
|
};
|
|
229
233
|
|
|
230
234
|
// NOTE: This string will be replaced on build time with the package version.
|
|
231
|
-
var version = "16.
|
|
235
|
+
var version = "16.7.1";
|
|
232
236
|
|
|
233
237
|
exports.changeDateInMonth = changeDateInMonth;
|
|
234
238
|
exports.changeMonth = changeMonth;
|
|
@@ -82,6 +82,10 @@ const DATE_FORMAT_LOCALIZED_MAPPINGS = {
|
|
|
82
82
|
[formatToken.DD]: 'JJ',
|
|
83
83
|
[formatToken.YYYY]: 'AAAA'
|
|
84
84
|
},
|
|
85
|
+
pt: {
|
|
86
|
+
// DD/MM/YYYY - HH:mm -> DD/MM/AAAA - HH:mm
|
|
87
|
+
[formatToken.YYYY]: 'AAAA'
|
|
88
|
+
},
|
|
85
89
|
'zh-CN': {
|
|
86
90
|
// YYYY/MM/DD - HH:mm -> 年/月/日 - 小时:分钟
|
|
87
91
|
[formatToken.HH]: '小时',
|
|
@@ -228,7 +232,7 @@ const getLocalizedDateTimeFormatPattern = function (locale) {
|
|
|
228
232
|
};
|
|
229
233
|
|
|
230
234
|
// NOTE: This string will be replaced on build time with the package version.
|
|
231
|
-
var version = "16.
|
|
235
|
+
var version = "16.7.1";
|
|
232
236
|
|
|
233
237
|
exports.changeDateInMonth = changeDateInMonth;
|
|
234
238
|
exports.changeMonth = changeMonth;
|
|
@@ -66,6 +66,10 @@ const DATE_FORMAT_LOCALIZED_MAPPINGS = {
|
|
|
66
66
|
[formatToken.DD]: 'JJ',
|
|
67
67
|
[formatToken.YYYY]: 'AAAA'
|
|
68
68
|
},
|
|
69
|
+
pt: {
|
|
70
|
+
// DD/MM/YYYY - HH:mm -> DD/MM/AAAA - HH:mm
|
|
71
|
+
[formatToken.YYYY]: 'AAAA'
|
|
72
|
+
},
|
|
69
73
|
'zh-CN': {
|
|
70
74
|
// YYYY/MM/DD - HH:mm -> 年/月/日 - 小时:分钟
|
|
71
75
|
[formatToken.HH]: '小时',
|
|
@@ -212,6 +216,6 @@ const getLocalizedDateTimeFormatPattern = function (locale) {
|
|
|
212
216
|
};
|
|
213
217
|
|
|
214
218
|
// NOTE: This string will be replaced on build time with the package version.
|
|
215
|
-
var version = "16.
|
|
219
|
+
var version = "16.7.1";
|
|
216
220
|
|
|
217
221
|
export { changeDateInMonth, changeMonth, changeTime, createCalendarItems, createItemDateTimeToString, createSuggestedItems, formatDate, 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": "16.
|
|
4
|
+
"version": "16.7.1",
|
|
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": "16.
|
|
24
|
+
"@commercetools-uikit/utils": "16.7.1"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"moment-timezone": "0.5.43"
|