@focus4/form-toolbox
Advanced tools
@@ -714,7 +714,10 @@ import { registerFieldComponent, registerFormComponent, useDisplay, useField, useInput } from "@focus4/forms"; | ||
| if (transformedDate?.isValid) { | ||
| const { year, month, day } = transformedDate; | ||
| const { year, month, day, hour, minute, second } = transformedDate; | ||
| let newDate = date.set({ | ||
| year, | ||
| month, | ||
| day | ||
| year: inputFormat.includes("yy") ? year : void 0, | ||
| month: inputFormat.includes("MM") ? month : void 0, | ||
| day: inputFormat.includes("dd") ? day : void 0, | ||
| hour: inputFormat.includes("HH") ? hour : void 0, | ||
| minute: inputFormat.includes("mm") ? minute : void 0, | ||
| second: inputFormat.includes("ss") ? second : void 0 | ||
| }); | ||
@@ -721,0 +724,0 @@ if (ISOStringFormat === "local-utc-midnight") newDate = newDate.toUTC(); |
+3
-3
| { | ||
| "name": "@focus4/form-toolbox", | ||
| "version": "12.12.5", | ||
| "version": "12.12.6", | ||
| "description": "Focus v4, form-toolbox module", | ||
@@ -20,4 +20,4 @@ "main": "lib/focus4.form-toolbox.js", | ||
| "@focus4/entities": "12.10.3", | ||
| "@focus4/forms": "12.12.5", | ||
| "@focus4/stores": "12.12.4", | ||
| "@focus4/forms": "12.12.6", | ||
| "@focus4/stores": "12.12.5", | ||
| "@focus4/styling": "12.11.1", | ||
@@ -24,0 +24,0 @@ "@focus4/toolbox": "12.11.2", |
Sorry, the diff of this file is too big to display
238013
0.45%2502
0.12%+ Added
+ Added
- Removed
- Removed
Updated
Updated