5 ms·
you might call this a gotcha of this obscure standard called UNIX/POSIX, although... > %G The ISO 8601 week-based year (see NOTES) with century as a decimal n
by zorkw4rg 8y ago
you might call this a gotcha of this obscure standard called UNIX/POSIX, although...
> %G The ISO 8601 week-based year (see NOTES) with century as a decimal number. The 4-digit year corresponding to the ISO week number (see %V). This has the same format and value as %Y, except that if the ISO week number belongs to the previous or next year, that year is used instead. (TZ)
I think that's pretty clear, so its actually just a case of not reading / bothering to understand the documentation. I think if you really want to bulletproof a system against incompetency we should probably not start with C.
- kazinator 8y agoI don't think Rachel is incompetent. She had a brain-slip and is trying to blame it on some external factors. "I can't explain why I didn't understand this simple, clear piece of documentation. But, aha, if the sections weren't sorted such that it came first before the common thing I was looking for, this wouldn't have happened." It's just grasping at straws. There is no way for a documentation writer to predict who will have a momentary brain lapse, reading what passage. Putting something more toward the back of the document isn't a guarantee that someone won't trip up on it.
- rachelbythebay 8y agoIt was never about me. I didn’t make this error. I did, however, fix it and added steps to make it not happen again.