Typing the date doesn't follow set format
See original GitHub issueIf I have format set for example to “d.M.yyyy”, like this:
<datepicker format="d.M.yyyy" :typeable="true">
And then I select 1st of June 2017, it shows up correctly as “1.6.2017”, but then if I only change the year by manually typing “1.6.2018”, it interprets the changed date as 6th of January 2018.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:8
- Comments:10 (3 by maintainers)
Top Results From Across the Web
How to Fix Excel Dates That Won't Change Format - Contextures
How to fix Excel dates that will not change format. Fix dates that end up in the wrong order when sorted. Use built-in...
Read more >Excel Dates Won't Change Format - Contextures Blog
To format the dates, select them, and use the quick Number formats on the Excel Ribbon, or click the dialog launcher, to see...
Read more >Date Formatting Won't Change - Microsoft Tech Community
I have an excel column that includes dates currently formatted as MM/DD/YYYY. I want it formatted as YYYY/MM/DD. When I go to format...
Read more >6 Ways to Fix Dates Formatted as Text in Excel
6 ways to fix dates formatted ast text in Excel, plus a bonus technique using Power Query to fix various formats.
Read more >How to change Excel date format and create custom formatting
If you want to set a different default date and/or time formats on your computer, for example change the USA date format to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I found a solution to the
Date.parse
problem. I don’t know if it’s the best approach, but it solved my problem, and I hope it can help someone else. I created a pullRequest #536. @charliekasselI have the same problem.
<datepicker :language="ptBR" format="dd/MM/yyyy" v-mask="'##/##/####'" :typeable="true" class="form-control" v-model="dt_ini" @keyup.enter="doFilter" ></datepicker>
If I type 15/06/2018 then press TAB, my input is cleaned.