Time format localization bug & fix master branch

I fixed hardcoded time formats (#1385) and now when I started using them I found a bug.
I forgot to make time format in popup bubble configurable.
And time and date is wrong if localization is not using 12 hour time and mm-dd-YYYY. Date problem only shows up if datepicker is localized. (Which is currently never).