DNNCommunity / DNNCommunity/DNN.Blog
date format when different than now
- Dominant language
- JavaScript
- Stars
- 39
- Forks
- 41
- PR merge metrics
- No merged PRs in 30d
Description
## Describe the bug
saving the date DotNetNuke.Services.Exceptions.ModuleLoadException: Conversion from string "10-15-2020 14:31 PM" to type 'Date' is not valid. ---> System.InvalidCastException: Conversion from string "10-15-2020 14:31 PM" to type 'Date' is not valid. at Microsoft.VisualBasic.CompilerServices.Conversions.ToDate(String Value) at DotNetNuke.Modules.Blog.PostEdit.cmdSave_Click(Object sender, EventArgs e) --- End of inner exception stack trace ---
## Software Versions
- DNN: 09.08.00
- Module: 06.05.01
## To Reproduce
Edit a post and choose a date where Date is >12. Looks like the date picker display the date in this format 10-15-2019 14:48 PM But is needed 15-10-2019 14:48 PM
In the Blog_Post table the format is 2020-10-15 12:31:00.000
## Expected behavior
Date Picker has to use DD-MM-YYYY HH:MM A format
Contributor guide
Assessment
This issue has not been assessed yet.