I am having an issue displaying a localized time. My current code is this:

Qt Code:
  1. mpLongTime->setText( locale.toString( time, QLocale::LongFormat ) );
To copy to clipboard, switch view to plain text mode 

I need to display a time in LongFormat, but without the timezone that is appended to the string. Unfortunately, setting the format to "HH:MM:SS A" does not work because it is fixed, and some languages like Chinese don't use the colons (other characters are used). Is there a way to do this?