247: case 'd':
248: pt = _conv(t->tm_mday, "%02d", pt, ptlim);
249: continue;
262: case 'e':
263: pt = _conv(t->tm_mday, "%2d", pt, ptlim);
264: continue;
268: case 'H':
269: pt = _conv(t->tm_hour, "%02d", pt, ptlim);
270: continue;
271: case 'I':
272: pt = _conv((t->tm_hour % 12) ?
273: (t->tm_hour % 12) : 12,
276: case 'j':
277: pt = _conv(t->tm_yday + 1, "%03d", pt, ptlim);
278: continue;
289: */
290: pt = _conv(t->tm_hour, "%2d", pt, ptlim);
291: continue;
309: */
310: pt = _conv((t->tm_hour % 12) ?
311: (t->tm_hour % 12) : 12,
314: case 'M':
315: pt = _conv(t->tm_min, "%02d", pt, ptlim);
316: continue;
317: case 'm':
318: pt = _conv(t->tm_mon + 1, "%02d", pt, ptlim);
319: continue;
335: case 'S':
336: pt = _conv(t->tm_sec, "%02d", pt, ptlim);
337: continue;
361: case 'U':
362: pt = _conv((t->tm_yday + DAYSPERWEEK -
363: t->tm_wday) / DAYSPERWEEK,
372: */
373: pt = _conv((t->tm_wday == 0) ?
374: DAYSPERWEEK : t->tm_wday,
454: if (*format == 'V')
455: pt = _conv(w, "%02d",
456: pt, ptlim);
473: case 'W':
474: pt = _conv((t->tm_yday + DAYSPERWEEK -
475: (t->tm_wday ?
480: case 'w':
481: pt = _conv(t->tm_wday, "%d", pt, ptlim);
482: continue;
570: (diff % MINSPERHOUR);
571: pt = _conv(diff, "%04d", pt, ptlim);
572: }
652: pt = _add("-0", pt, ptlim);
653: else pt = _conv(lead, "%02d", pt, ptlim);
654: }
655: if (convert_yy)
656: pt = _conv(((trail < 0) ? -trail : trail), "%02d", pt, ptlim);
657: return pt;