+2002-06-21 Corinna Vinschen <corinna@vinschen.de>
+
+ * libc/time/strftime.c (strftime): Add %e format specifier.
+
2002-06-21 Thomas Fitzsimmons <fitzsim@redhat.com>
* libc/search/hash.h (LITTLE_ENDIAN, BIG_ENDIAN): Define if not
o %d
The day of the month, formatted with two digits.
+o %e
+The day of the month, formatted with leading space if single digit.
+
o %H
The hour (on a 24-hour clock), formatted with two digits.
else
return 0;
break;
+ case 'e':
+ if (count < maxsize - 2)
+ {
+ sprintf (&s[count], "%2d",
+ tim_p->tm_mday);
+ count += 2;
+ }
+ else
+ return 0;
+ break;
case 'H':
if (count < maxsize - 2)
{