Renamed time units (#2356)

* Changed time units as outlined in issue #2353.
Also applied changes to to_str for Unit - not sure if that was what was wanted.

* Forgot the tests!

* Updated primitive.rs to match changes.

* Updated where example to match changes.

* And the html test!
This commit is contained in:
Matt Clarke
2020-08-15 21:03:28 +02:00
committed by GitHub
parent c6588c661a
commit c59f860b48
6 changed files with 26 additions and 26 deletions

View File

@ -57,7 +57,7 @@ impl WholeStreamCommand for Where {
},
Example {
description: "List all files that were modified in the last two months",
example: "ls | where modified <= 2M",
example: "ls | where modified <= 2mon",
result: None,
},
]