5 ms·
The problem is that this text makes no sense standing alone... why would anyone imagine that a week number might belong to a year other than the year it's in wi
by paultopia 8y ago
The problem is that this text makes no sense standing alone... why would anyone imagine that a week number might belong to a year other than the year it's in without a separate detailed explanation?
- gkya 8y agoBecause not every year starts on monday?
- twic 8y agoI agree that most people, on reading it, wouldn't understand exactly what it meant. But i think an adequately sharp person would think "i don't understand exactly what that means, so i'm going to find out before i use it". A person whose response is "i don't understand exactly what that means, but it sounds close, so i'm going to use it" should probably not be doing detail work like programming.
- samatman 8y ago> This has the same format and value as %Y When I see a line like that, I check %Y immediately. Unless I'm tired, in a hurry, or just not paying enough attention.
- gpvos 8y ago...which happens to many people once in a while...
- deleted 8y ago[deleted]
- kazinator 8y agoThe text makes it clear that the week can belong to another year. This piece of documentation leaks numerous clues that it's describing something radioactive that you want to stay away from And it gives away the specifier that you want: %Y. "Same format as %Y except ..." means "this is some extended/twisted version of another year format, which is assigned to the obvious %Y letter. Hmm, maybe I should check that one out!"