Date in vue-datetime -1 day


#1

Hello ,
In my laravel 5.6 / vue.js 2.5.7/ Bootstrap4.1.0 app I use
vue-datetime ( https://github.com/mariomka/vue-datetime ) and I found that when I open editor with current value from db
vue-datetime shows wrong date(-1 day)
so if in data
task.date_start= 2018-06-02

having definition :


	<datetime
		type="date"
		name="date_start"
		id="date_start"
		v-model="task.date_start"
		:format="{ year: 'numeric', month: 'long', day: 'numeric' }"
		:week-start="1"
		auto
		:value-zone="timezone"
		class="form-control"
	></datetime>

I see that task.date_start has value = ‘2018-06-01T00:00:00.000Z’ and

 timezone::Europe/Kiev

Is it some error in my config ?

Thanks!


#2

Did you fixed this issue? I have the same issue right now. How I’m going to fix this?