Fixed a bug related to 12 hours datetime format

Fixed a bug related to 12 hours datetime format which caused
DateTimePicker to display AM even if input field displays PM.

Check [issue
17](https://github.com/CuriousSolutions/DateTimePicker/issues/17)