diff options
author | William Langford <wlangfor@gmail.com> | 2017-11-29 20:40:36 -0500 |
---|---|---|
committer | William Langford <wlangfor@gmail.com> | 2017-11-29 20:47:56 -0500 |
commit | 0c9eacedaae1e0d53e265a35830f6e7ebd04cc53 (patch) | |
tree | 956b80499b3d53e34b5b1e538efeeab63a8f1e94 /docs/content/3.manual/manual.yml | |
parent | 476b36770d933738130880bc6f30751cdf880aed (diff) |
Actually fix the strptime testsmacos-strptime
This has been a complicated issue to fix for a number of reasons.
The core of it is that the behavior is different between different
versions of macOS, some of which set possible-but-incorrect values.
This commit addresses the issue by always using our computation for
tm_wday and tm_yday on macOS. As a side-effect, strptime format
strings that specify %u and %j will no longer work on macOS.
Diffstat (limited to 'docs/content/3.manual/manual.yml')
-rw-r--r-- | docs/content/3.manual/manual.yml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/content/3.manual/manual.yml b/docs/content/3.manual/manual.yml index 6baa58ca..f03efcda 100644 --- a/docs/content/3.manual/manual.yml +++ b/docs/content/3.manual/manual.yml @@ -1933,7 +1933,8 @@ sections: 8601 datetime is `"%Y-%m-%dT%H:%M:%SZ"`. jq may not support some or all of this date functionality on - some systems. + some systems. In particular, the `%u` and `%j` specifiers for + `strptime(fmt)` are not supported on macOS. examples: - program: 'fromdate' |