Browse Source

Fix typo

master
Andrew Kingston 4 years ago
parent
commit
9b5be05836
  1. 2
      packages/bbui/src/Form/Core/DatePicker.svelte

2
packages/bbui/src/Form/Core/DatePicker.svelte

@ -60,7 +60,7 @@
// If time only set date component to 2000-01-01 // If time only set date component to 2000-01-01
if (timeOnly) { if (timeOnly) {
// Classic flackpickr causing issues. // Classic flackpickr causing issues.
// When selecting a time first the first time for a "time only" field, // When selecting a value for the first time for a "time only" field,
// the time is always offset by 1 hour for some reason (regardless of time // the time is always offset by 1 hour for some reason (regardless of time
// zone) so we need to correct it. // zone) so we need to correct it.
if (!value && newValue) { if (!value && newValue) {

Loading…
Cancel
Save