Rank: Advanced Member
Groups: Developers
Joined: 11/7/2018(UTC) Posts: 303
Thanks: 21 times Was thanked: 5 time(s) in 5 post(s)
|
A site reported this, so I tested on a local 9.0.4 site with no customizations in the admin. Set an availability date on a product in the low inventory report. The date displays without a time after changing it. Go to the edit product page for the same product and the dates shows a time, in my case it was 5:00PM but the client says it was 8:AM on his site. Change the date on the edit product page and click save. The date doesn't show a time. Reload the edit product page and it shows a time, in my case 12:00 AM.
|
|
|
|
Rank: Advanced Member
Groups: Admin, Developers, Registered, HelpDesk, Authorized User Joined: 10/5/2018(UTC) Posts: 704
Thanks: 5 times Was thanked: 113 time(s) in 112 post(s)
|
I am able to reproduce the issue. I have registered the issue.
Thanks for identifying!
|
|
|
|
Rank: Advanced Member
Groups: Developers
Joined: 11/7/2018(UTC) Posts: 303
Thanks: 21 times Was thanked: 5 time(s) in 5 post(s)
|
Can you post a patch for this? It is causing issues for a merchant using 9.0.4. Thanks
|
|
|
|
Rank: Advanced Member
Groups: Admin, Developers, Registered, HelpDesk, Authorized User Joined: 10/5/2018(UTC) Posts: 704
Thanks: 5 times Was thanked: 113 time(s) in 112 post(s)
|
To fix 1- Open the file E:\Workspace\AbleCommerce9\trunk\Website\Areas\Admin\Controllers\ProductController.cs 2- Search for Code:else editProductModel.AvailabilityDate = product.AvailabilityDate.HasValue ? product.AvailabilityDate.ToString() : string.Empty;
3- Replace with Code:else editProductModel.AvailabilityDate = product.AvailabilityDate.HasValue ? product.AvailabilityDate.Value.ToString("MM/dd/yyyy") : string.Empty;
4- You will need to compile the code
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The AbleCommerce Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close