| 4107 | process by around 17%, compared to letting strftime() handle the %b. */ |
| 4108 | |
| 4109 | static ptrdiff_t |
| 4110 | align_nstrftime (char *buf, size_t size, bool recent, struct tm const *tm, |
| 4111 | timezone_t tz, int ns) |
| 4112 | { |
| 4113 | char const *nfmt = (use_abformat |
| 4114 | ? abformat[recent][tm->tm_mon] |
| 4115 | : long_time_format[recent]); |
| 4116 | return nstrftime (buf, size, nfmt, tm, tz, ns); |
| 4117 | } |
| 4118 | |
| 4119 | /* Return the expected number of columns in a long-format timestamp, |
| 4120 | or zero if it cannot be calculated. */ |
no outgoing calls
no test coverage detected