@tachybase/client 1.6.20 → 1.6.21
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,6 +84,10 @@ const normalizeDatePickerParseOptions = function() {
|
|
|
84
84
|
if ('date' !== rangeValueInfo.mode || 'retained-local-date-boundary' === rangeValueInfo.source) return options;
|
|
85
85
|
}
|
|
86
86
|
const { gmt, ...rest } = options;
|
|
87
|
+
if ('retained-date-boundary' === rangeValueInfo.source) return {
|
|
88
|
+
...rest,
|
|
89
|
+
gmt: true
|
|
90
|
+
};
|
|
87
91
|
return rest;
|
|
88
92
|
};
|
|
89
93
|
const moment2str = function(value) {
|
|
@@ -133,6 +133,10 @@ const normalizeDatePickerParseOptions = function() {
|
|
|
133
133
|
if ('date' !== rangeValueInfo.mode || 'retained-local-date-boundary' === rangeValueInfo.source) return options;
|
|
134
134
|
}
|
|
135
135
|
const { gmt, ...rest } = options;
|
|
136
|
+
if ('retained-date-boundary' === rangeValueInfo.source) return {
|
|
137
|
+
...rest,
|
|
138
|
+
gmt: true
|
|
139
|
+
};
|
|
136
140
|
return rest;
|
|
137
141
|
};
|
|
138
142
|
const moment2str = function(value) {
|