summaryrefslogtreecommitdiffstats
path: root/sqv
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>2019-12-16 10:30:24 -0500
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>2019-12-16 10:32:11 -0500
commit3a6983623b14d312299da00ae7ebac3a25026889 (patch)
treef227592722ce9b88e03696ca1189bbd1cb23333f /sqv
parent4b7457928f2d57bdb881a70c762db7d4359d541f (diff)
sqv: Clarify that we expect ISO 8601 timestamps.
- ISO 9801 is "Opthalmic instruments -- Trial case lenses", not "Representation of dates and times" - The commit log of 4b7457928f2d57bdb881a70c762db7d4359d541f references ISO 6801, which is "Rubber or plastics hoses — Determination of volumetric expansion", which is also supposed to be 8601.
Diffstat (limited to 'sqv')
-rw-r--r--sqv/src/sqv-usage.rs2
-rw-r--r--sqv/src/sqv_cli.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/sqv/src/sqv-usage.rs b/sqv/src/sqv-usage.rs
index 83a0828e..8e1cb395 100644
--- a/sqv/src/sqv-usage.rs
+++ b/sqv/src/sqv-usage.rs
@@ -27,7 +27,7 @@
//! <SIG-FILE> File containing the detached signature.
//! <FILE> File to verify.
//!
-//! TIMESTAMPs must be given in ISO 9801 format (e.g. '2017-03-04T13:25:35Z', '2017-03-04T13:25', '20170304T1325+0830',
+//! TIMESTAMPs must be given in ISO 8601 format (e.g. '2017-03-04T13:25:35Z', '2017-03-04T13:25', '20170304T1325+0830',
//! '2017-03-04', '2017031', ...). If no timezone is specified, UTC is assumed.
//! ```
diff --git a/sqv/src/sqv_cli.rs b/sqv/src/sqv_cli.rs
index 7efde976..5d947d47 100644
--- a/sqv/src/sqv_cli.rs
+++ b/sqv/src/sqv_cli.rs
@@ -46,7 +46,7 @@ pub fn build() -> App<'static, 'static> {
.help("Trace execution.")
.long("trace"))
.after_help(
- "TIMESTAMPs must be given in ISO 9801 format \
+ "TIMESTAMPs must be given in ISO 8601 format \
(e.g. '2017-03-04T13:25:35Z', '2017-03-04T13:25', \
'20170304T1325+0830', '2017-03-04', '2017031', ...). \
If no timezone is specified, UTC is assumed.")