implement week numbers and half of the week-based-year logic for strftime
authorRich Felker <dalias@aerifal.cx>
Fri, 28 Jun 2013 16:03:58 +0000 (12:03 -0400)
committerRich Felker <dalias@aerifal.cx>
Fri, 28 Jun 2013 16:03:58 +0000 (12:03 -0400)
commitc5faf1bf09c01641e74844c4bfb0f129bc3974a1
treee65eb79340fe4aeb1e55fee65a04fbcb99de00ca
parent1e2281b8356d1935a129ddb199d71677f19a1619
implement week numbers and half of the week-based-year logic for strftime

output for plain week numbers (%U and %W) has been sanity-checked, and
output for the week-based-year week numbers (%V) has been checked
extensively against known-good data for the full non-negative range of
32-bit time_t.

year numbers for week-based years (%g and %G) are not yet implemented.
src/time/strftime.c