implement week-based-year year numbers in strftime
authorRich Felker <dalias@aerifal.cx>
Fri, 28 Jun 2013 16:38:42 +0000 (12:38 -0400)
committerRich Felker <dalias@aerifal.cx>
Fri, 28 Jun 2013 16:38:42 +0000 (12:38 -0400)
commitaea79190326cf81d6c8ec81ab163137591c6dac8
tree17132e9af070662887c0b0011c4baddb5c0db1c0
parent062446a85db9b58b4900df82e17cb8c07ec50453
implement week-based-year year numbers in strftime

in the process, I refactored the week-number code so it can be used by
the week-based-year formats to determine year adjustments at the
boundary values. this also improves indention/code readability.
src/time/strftime.c