Home
last modified time | relevance | path

Searched refs:month (Results 1 – 7 of 7) sorted by relevance

/picolibc-latest/newlib/libc/time/
Dgmtime_r.c71 unsigned erayear, yearday, month, day; in gmtime_r() local
101 month = (5 * yearday + 2) / 153; /* [0, 11] */ in gmtime_r()
102 day = yearday - (153 * month + 2) / 5 + 1; /* [1, 31] */ in gmtime_r()
103 month += month < 10 ? 2 : -10; in gmtime_r()
104 year = ADJUSTED_EPOCH_YEAR + erayear + era * YEARS_PER_ERA + (month <= 1); in gmtime_r()
110 res->tm_mon = month; in gmtime_r()
Dtime.tex46 Day of the month, between 1 and 31 inclusive.
Dstrptime.c191 ret = match_string (&buf, _ctloc (month), locale); in strptime_l()
Dstrftime.c790 _ctloc (month[tim_p->tm_mon]); in __strftime()
/picolibc-latest/newlib/libc/locale/
Dsetlocale.h113 const char *month[12]; member
Dnl_langinfo.c226 ret = (char*) __get_time_locale (locale)->month[_REL(MON_1)]; in nl_langinfo_l()
/picolibc-latest/newlib/
DChangeLog-20153918 * libc/time/strftime.c (get_era_info): Fix off-by-one error in month
13189 (__tzcalc_limits): Fix reference to month array to be zero-based.
20726 month is now padded with space, not zero. This now conforms to