824
830
if (strstr(fmt, "%p")==NULL && strstr(fmt, "%P")==NULL) {
825
831
/* No AM/PM involved - can use the fmt string directly */
826
ret=e_strftime (str, max, fmt, tm);
832
ret = e_strftime (str, max, fmt, tm);
828
834
/* Get the AM/PM symbol from the locale */
829
835
e_strftime (buf, 10, "%p", tm);