Definition at line 151 of file strftime.c.
197 true,
false, pt, ptlim);
203 pt =
_fmt(
Locale->c_fmt, t, pt, ptlim, &warn2);
211 pt =
_fmt(
"%m/%d/%y", t, pt, ptlim, warnp);
230 pt =
_fmt(
"%Y-%m-%d", t, pt, ptlim, warnp);
260 pt =
_add(
"kitchen sink", pt, ptlim);
282 pt =
_add(
"\n", pt, ptlim);
291 pt =
_fmt(
"%H:%M", t, pt, ptlim, warnp);
294 pt =
_fmt(
"%I:%M:%S %p", t, pt, ptlim, warnp);
300 pt =
_fmt(
"%H:%M:%S", t, pt, ptlim, warnp);
303 pt =
_add(
"\t", pt, ptlim);
367 bot = ((yday + 11 - wday) %
386 w = 1 + ((yday - bot) /
396 pt =
_conv(w,
"%02d",
417 pt =
_fmt(
"%e-%b-%Y", t, pt, ptlim, warnp);
430 pt =
_fmt(
Locale->X_fmt, t, pt, ptlim, warnp);
436 pt =
_fmt(
Locale->x_fmt, t, pt, ptlim, &warn2);
477 negative = t->
tm_zone[0] ==
'-';
490 pt =
_conv(diff,
"%04d", pt, ptlim);
static char * _fmt(const char *format, const struct pg_tm *t, char *pt, const char *ptlim, enum warn *warnp)
static char * _yconv(int a, int b, bool convert_top, bool convert_yy, char *pt, char const *ptlim)
static char * _conv(int n, const char *format, char *pt, const char *ptlim)
References _add(), _conv(), _yconv(), DAYSPERLYEAR, DAYSPERNYEAR, DAYSPERWEEK, format, HOURSPERDAY, IN_ALL, IN_SOME, IN_THIS, isleap_sum, label, len, Locale, MINSPERHOUR, MONSPERYEAR, SECSPERMIN, sign, pg_tm::tm_gmtoff, pg_tm::tm_hour, pg_tm::tm_isdst, pg_tm::tm_mday, pg_tm::tm_min, pg_tm::tm_mon, pg_tm::tm_sec, pg_tm::tm_wday, pg_tm::tm_yday, pg_tm::tm_year, TM_YEAR_BASE, pg_tm::tm_zone, and lc_time_T::wday.
Referenced by pg_strftime().