date
--datev2.6.0Converts `date` command output to JSON
LinuxmacOSFreeBSDcommandslurpable
$ date | jc-rs --dateA real pair
From the reference corpus (generic/date.json). The left pane is the input the fixture ships; the right pane is the corpus's expected JSON. CI compares jc-rs with it field by field under the published differential. Hover a value to see where it came from.
dategeneric
Mon Aug 3 09:12:51 PDT 2020
expected outputjson
Use the Left and Right arrow keys to highlight the matching value in the input.
{ "year": 2020, "month": "Aug", "month_num": 8, "day": 3, "weekday": "Mon", "weekday_num": 1, "hour": 9, "hour_24": 9, "minute": 12, "second": 51, "period": "AM", "timezone": "PDT", "utc_offset": null, "day_of_year": 216, "week_of_year": 31, "iso": "2020-08-03T09:12:51", "epoch": 1596471171, "epoch_utc": null, "timezone_aware": false }
Fixture coverage
4/4oracle-valid pairs match under the published structural JSON comparison
Magic syntax
jc-rs datejc-rs runs the command itself and parses what it prints. Recognised for: `date`Source: crates/jc-rs-parsers/src/system/date.rs. jc-rs targets the schemas defined by the original Python tool. Fixture coverage above is the measured evidence for this parser; test the inputs your pipeline depends on. Compare