Open faizaaulia opened 1 week ago
Describe the bug utc prop is true and model-type is set to yyyy-MM-dd HH:mm:ss, but the model value format is not yyyy-MM-dd HH:mm:ss, it returned an ISOString instead
utc
model-type
To Reproduce Steps to reproduce the behavior:
Expected behavior If the utc set to true, and model-type set to yyyy-MM-dd HH:mm:ss the expected model value is like the result on the second input
I'm not really sure if it's a bug or because it's not possible...
Screenshots
Describe the bug
utc
prop is true andmodel-type
is set to yyyy-MM-dd HH:mm:ss, but the model value format is not yyyy-MM-dd HH:mm:ss, it returned an ISOString insteadTo Reproduce Steps to reproduce the behavior:
model-type
prop valuemodel-type
prop valueExpected behavior If the utc set to true, and model-type set to yyyy-MM-dd HH:mm:ss the expected model value is like the result on the second input
I'm not really sure if it's a bug or because it's not possible...
Screenshots![image](https://github.com/Vuepic/vue-datepicker/assets/21327758/fc2316a4-af5c-4eaf-9233-1673640cbc07)