I am using this component called vue-datetime and I am hoping someone has used the same use case as me.
I am trying to put a max-date based on any timezone a user's "assets" are in. I am using moment to get timezone dates.
<datetime
v-model="date"
zone="Asia/Tokyo"
value-zone="Asia/Tokyo"
:max-datetime="dateNow">
</datetime>
I am passing date and dateNow as
moment().tz('Asia/Tokyo').format()
which is as ISO 8601 string and these dates are right (it returns the local time in Tokyo). However, when I open the day picker, May 25 is disabled even though it is currently May 25 2:45 am in Tokyo.
