@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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apliteni/apliteni-ui",
3
- "version": "0.146.0",
3
+ "version": "0.146.1",
4
4
 
5
5
  "workspaces": [
6
6
  "react"
@@ -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;