-
Notifications
You must be signed in to change notification settings - Fork 80
problem with safari #108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi, |
when i set the date with (picker.date = dateString;) and read it by (date = picker.date) command, it is ok. but when i pick a datetime manually and read it by (date = picker.date), the readed time is 3:30 ( or 4:30 in summer) more than selected time. <div id="time_from">
<label>زمان شروع</label>
<date-picker
v-model="date"
v-bind:min="dmin"
v-bind:max="dmax"
locale="fa,en"
type="datetime"
format="YYYY-MM-DDTHH:mm:ss"
display-format="jYYYY-jMM-jDD HH:mm"
@change="onChange()"
:timezone="false"
></date-picker>
</div> var picker = new Vue({
el: '#time_from',
data: {
date: '',
dmin: '',
dmax: ''
},
components: {
DatePicker: VuePersianDatetimePicker
},
methods: {
onChange: function() {
// todo if safari-> read data and fix it for next reads
//this.date
}
}
}) i set timezone to false because picker has a bug with timezone |
سلام دوست عزیز |
Hi
it seems it has still problem with safari browser when select datetime.
when i select datetime in safari, it shows correct data but when i read the data it is wrong.
The text was updated successfully, but these errors were encountered: