@budibase/bbui 1.0.158 → 1.0.160
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,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@budibase/bbui",
|
|
3
3
|
"description": "A UI solution used in the different Budibase projects.",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.160",
|
|
5
5
|
"license": "MPL-2.0",
|
|
6
6
|
"svelte": "src/index.js",
|
|
7
7
|
"module": "dist/bbui.es.js",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
],
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"@adobe/spectrum-css-workflow-icons": "^1.2.1",
|
|
41
|
-
"@budibase/string-templates": "^1.0.
|
|
41
|
+
"@budibase/string-templates": "^1.0.160",
|
|
42
42
|
"@spectrum-css/actionbutton": "^1.0.1",
|
|
43
43
|
"@spectrum-css/actiongroup": "^1.0.1",
|
|
44
44
|
"@spectrum-css/avatar": "^3.0.2",
|
|
@@ -84,5 +84,5 @@
|
|
|
84
84
|
"svelte-flatpickr": "^3.2.3",
|
|
85
85
|
"svelte-portal": "^1.0.0"
|
|
86
86
|
},
|
|
87
|
-
"gitHead": "
|
|
87
|
+
"gitHead": "1c21bf2e0f438431ef8cffe01914666fdf04099f"
|
|
88
88
|
}
|
|
@@ -58,6 +58,11 @@
|
|
|
58
58
|
if (timeOnly) {
|
|
59
59
|
newValue = `2000-01-01T${newValue.split("T")[1]}`
|
|
60
60
|
}
|
|
61
|
+
// date only, offset for timezone so always right date
|
|
62
|
+
else if (!enableTime) {
|
|
63
|
+
const offset = dates[0].getTimezoneOffset() * 60000
|
|
64
|
+
newValue = new Date(dates[0].getTime() - offset).toISOString()
|
|
65
|
+
}
|
|
61
66
|
dispatch("change", newValue)
|
|
62
67
|
}
|
|
63
68
|
|