use full date to take TZ into account
This commit is contained in:
parent
b605d25a4d
commit
11325f2056
|
@ -4,9 +4,15 @@
|
|||
|
||||
export let label
|
||||
export let value
|
||||
|
||||
function onChange(event) {
|
||||
const [selectedDates] = event.detail
|
||||
value = selectedDates[0]
|
||||
}
|
||||
</script>
|
||||
|
||||
<div class="bb-margin-m">
|
||||
<Label small forAttr={'datepicker-label'}>{label}</Label>
|
||||
<DatePicker placeholder={label} bind:value />
|
||||
YEET
|
||||
<DatePicker placeholder={label} on:change={onChange} {value} />
|
||||
</div>
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue