@apliteni/apliteni-ui 0.146.0 → 0.146.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.
- package/package.json +1 -1
- package/react/dist/index.js +1 -1
package/package.json
CHANGED
package/react/dist/index.js
CHANGED
|
@@ -2221,7 +2221,7 @@ function DatePicker({
|
|
|
2221
2221
|
};
|
|
2222
2222
|
const from = text2(span.start);
|
|
2223
2223
|
const to = text2(span.end);
|
|
2224
|
-
if (from && to) return `${from} ${EN_DASH} ${to}`;
|
|
2224
|
+
if (from && to) return from === to ? from : `${from} ${EN_DASH} ${to}`;
|
|
2225
2225
|
if (from) return `From ${from}`;
|
|
2226
2226
|
if (to) return `Until ${to}`;
|
|
2227
2227
|
return null;
|