Gets a default translated time format. The function constructs a new string interpreting the is_12h and with_second parameters so that it can be used with formatting functions like GLib.DateTime.format.
The returned string is formatted and translated. This function is mostly used to display the time in various user interfaces like the time displayed in the top panel.
is_12h |
if the returned string should be formatted in 12h format |
with_second |
if the returned string should include seconds |
the formatted and located time string. |