87
60
if (strstr(fmt, "%p")==NULL && strstr(fmt, "%P")==NULL) {
88
61
/* No AM/PM involved - can use the fmt string directly */
89
ret=e_strftime(s, max, fmt, tm);
62
ret=strftime(s, max, fmt, tm);
91
64
/* Get the AM/PM symbol from the locale */
92
e_strftime (buf, 10, "%p", tm);
65
strftime (buf, 10, "%p", tm);
96
69
* AM/PM have been defined in the locale
97
70
* so we can use the fmt string directly
99
ret=e_strftime(s, max, fmt, tm);
72
ret=strftime(s, max, fmt, tm);
102
75
* No AM/PM defined by locale