Fix typo
This commit is contained in:
parent
ee5085f57f
commit
03e379bafe
|
@ -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…
Reference in New Issue