111
115
const char *remainder, *percent;
113
117
char *piece, *result, *converted;
115
119
gboolean strip_leading_zeros, turn_leading_zeros_to_spaces;
117
123
/* Format could be translated, and contain UTF-8 chars,
118
124
* so convert to locale encoding which strftime uses */