use full date to take TZ into account
This commit is contained in:
parent
b177a36f89
commit
3811917781
|
@ -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