vueless 0.0.689 → 0.0.690
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
|
@@ -104,11 +104,11 @@ export default /*tw*/ {
|
|
|
104
104
|
},
|
|
105
105
|
rangeInputFirst: {
|
|
106
106
|
base: "{UInput} {>rangeInput}",
|
|
107
|
-
wrapper: "rounded-r-none",
|
|
107
|
+
wrapper: "!rounded-r-none",
|
|
108
108
|
},
|
|
109
109
|
rangeInputLast: {
|
|
110
110
|
base: "{UInput} {>rangeInput}",
|
|
111
|
-
wrapper: "rounded-l-none",
|
|
111
|
+
wrapper: "!rounded-l-none",
|
|
112
112
|
},
|
|
113
113
|
rangeInputError: "text-xs font-normal leading-none mt-2 text-center text-red-500",
|
|
114
114
|
datepickerCalendar: {
|
|
@@ -53,20 +53,20 @@ export function useUserFormat(
|
|
|
53
53
|
const fromTitle = from ? formatDate(from, fromFormat, userFormatLocale.value) : "";
|
|
54
54
|
const toTitle = to ? formatDate(to, userDateFormat, userFormatLocale.value) : "";
|
|
55
55
|
|
|
56
|
-
title = `${fromTitle} – ${toTitle}`;
|
|
56
|
+
title = `${fromTitle.trim()} – ${toTitle.trim()}`;
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
if (isPeriod.value.month) {
|
|
60
|
-
title = formatDate(from, "F Y",
|
|
60
|
+
title = formatDate(from, "F Y", userFormatLocale.value);
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
if (isPeriod.value.quarter || isPeriod.value.year) {
|
|
64
64
|
const fromFormat = userDateFormat.replace(/[Yy]/g, "");
|
|
65
65
|
|
|
66
|
-
const fromTitle = from ? formatDate(from, fromFormat,
|
|
67
|
-
const toTitle = to ? formatDate(to, userDateFormat,
|
|
66
|
+
const fromTitle = from ? formatDate(from, fromFormat, userFormatLocale.value) : "";
|
|
67
|
+
const toTitle = to ? formatDate(to, userDateFormat, userFormatLocale.value) : "";
|
|
68
68
|
|
|
69
|
-
title = `${fromTitle} – ${toTitle}`;
|
|
69
|
+
title = `${fromTitle.trim()} – ${toTitle.trim()}`;
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
return title;
|