mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-10 09:12:15 +01:00
fix datepicker bug
This commit is contained in:
@@ -15,8 +15,8 @@ function updateDate(event: Event) {
|
||||
if (newDate) {
|
||||
model.value = getLocalizedDayJs(model.value)
|
||||
.set('year', newDate.year())
|
||||
.set('day', newDate.day())
|
||||
.set('month', newDate.month())
|
||||
.set('date', newDate.date())
|
||||
.utc()
|
||||
.format();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user