[fix bug 1082674] Do not force 12h format in datetimewidgets.

* PEP8 fixes