197: case 'A':
198: pt = _add((t->tm_wday < 0 ||
199: t->tm_wday >= DAYSPERWEEK) ?
203: case 'a':
204: pt = _add((t->tm_wday < 0 ||
205: t->tm_wday >= DAYSPERWEEK) ?
209: case 'B':
210: pt = _add((t->tm_mon < 0 ||
211: t->tm_mon >= MONSPERYEAR) ?
216: case 'h':
217: pt = _add((t->tm_mon < 0 ||
218: t->tm_mon >= MONSPERYEAR) ?
296: */
297: pt = _add("kitchen sink", pt, ptlim);
298: continue;
320: case 'n':
321: pt = _add("\n", pt, ptlim);
322: continue;
323: case 'p':
324: pt = _add((t->tm_hour >= (HOURSPERDAY / 2)) ?
325: Locale->pm :
351: "%lu", (unsigned long) mkt);
352: pt = _add(buf, pt, ptlim);
353: }
358: case 't':
359: pt = _add("\t", pt, ptlim);
360: continue;
508: if (t->TM_ZONE != NULL)
509: pt = _add(t->TM_ZONE, pt, ptlim);
510: else
512: if (t->tm_isdst >= 0)
513: if (dt_getsystz(&tz) >= 0) pt = _add(tz.tzname[t->tm_isdst != 0],
514: pt, ptlim);
566: } else sign = "+";
567: pt = _add(sign, pt, ptlim);
568: diff /= SECSPERMIN;
604: (void) snprintf(buf, sizeof buf, format, n);
605: return _add(buf, pt, ptlim);
606: }
651: if (lead == 0 && trail < 0)
652: pt = _add("-0", pt, ptlim);
653: else pt = _conv(lead, "%02d", pt, ptlim);