[8.x] Incorrect date time display
See original GitHub issue[x] Bug report => search github for a similar issue or PR before submitting
[ ] Feature request
[ ] Other, please describe
- flatPickr version : 4.6.9
- Vue.js version : 2.6.12
- Browser name and version : Chrome
- This package version : 8.1.7
Current behavior When I set up the date-time value is “01/02, 20:00” 01 February but the Flatpick displays the wrong time. Flatpick displays the wrong time Here is my config
monthConfig: {
dateFormat: 'm/d, H:i',
enableTime: true,
time_24hr: true,
}
date time value "01/02, 20:00"
Result
Reproduction https://codesandbox.io/s/serene-cherry-hmqicb?file=/src/components/HelloWorld.vue
Issue Analytics
- State:
- Created 2 years ago
- Comments:14 (7 by maintainers)
Top Results From Across the Web
Date and Time are Wrong or Flashing on Poly IP Phones
Symptom. Your Poly IP phone displays a flashing or incorrect date and time. ... Back all the way out to the main screen...
Read more >iPhone Showing Wrong Time and Date: How to Fix? - Techbout
iPhone can end up showing wrong Time and Date due to incorrect Time Zone Settings, Location Services being disabled and other reasons.
Read more >Is Your Android Phone Showing the Wrong Time? Here's How ...
Go to Settings > General management or System > Date and time and turn the Automatic date and time button off and then...
Read more >iPhone or iPad Showing Wrong Time? Fix it Easily, Here is How
Fixing Wrong Date & Time Showing on iPhone or iPad · Open the “Settings” app and go to “General”, then to “Date &...
Read more >How to Fix Incorrect Date or Time With Windows Clock
Press the Windows Key + S keys and type in Date and click on Date & Time. You can also go to Settings...
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
You are examining my patience today 😁 I can keep chatting with you like this and your issue won’t solve.
I have already solved your 2nd issue, any comment on that? Thanks.
i only know
dateFormat: 'Y-m-d h:m:i',
could you gimme a reference to similar properties what i see in flat-picker usealtFormat: 'j F Y - h:m K',
k as am pm , and i only know i as am pm . i think its different .i have default time (initial date)
2022-10-12T03:52:50.000Z
and then reformat to humanReadAble with momentformat = 'D MMMM YYYY - hh:mm A'
so how aboutif didnt reformat , the time result is wrong gmt.