Setting widget for 12-hour format is not working. The reason is, DateTime element is not allowing to add am/pm using DateTime picker.

Comments

netiquettewebservices’s picture

StatusFileSize
new550 bytes

Applied attached patch to make 12-hour format work. Correct me if i am wrong.

netiquettewebservices’s picture

Title: 12 Hour format is not working » Boostrap DateTime Picker 12 Hour format is not working
netiquettewebservices’s picture

Issue tags: +datetime
prashant.c’s picture

Status: Active » Needs review

Thanks for raising this.

We will test it and commit the changes once tested.

Thanks.

Aanal.addweb’s picture

@netiquettewebservices, Your patch is working as per above description, but I've one query that if the configuration is in 12 hrs format then on viewing the article, it should also be shown in 12 hrs format with am and pm.
Other then this the patch is working fine when I checked it using simplytest.me PFA.

Aanal.addweb’s picture

Status: Needs review » Reviewed & tested by the community

prashant.c’s picture

Status: Reviewed & tested by the community » Fixed

Fixed. Thanks to the contributors

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.