From 7f7d8d4bd6f37015b11bac60a7bd99e8d3eca108 Mon Sep 17 00:00:00 2001 From: Kelly Brazil Date: Mon, 29 Mar 2021 20:36:10 -0700 Subject: [PATCH] update stat docs --- docs/parsers/stat.md | 4 ++++ jc/parsers/stat.py | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/docs/parsers/stat.md b/docs/parsers/stat.md index c6cef34f..99d8cc11 100644 --- a/docs/parsers/stat.md +++ b/docs/parsers/stat.md @@ -2,6 +2,10 @@ # jc.parsers.stat jc - JSON CLI output utility `stat` command output parser +The `xxx_epoch` calculated timestamp fields are naive (i.e. based on the local time of the system the parser is run on) + +The `xxx_epoch_utc` calculated timestamp fields are timezone-aware and are only available if the timezone field is UTC. + Usage (cli): $ stat * | jc --stat diff --git a/jc/parsers/stat.py b/jc/parsers/stat.py index 813bf2d7..23950519 100644 --- a/jc/parsers/stat.py +++ b/jc/parsers/stat.py @@ -1,5 +1,9 @@ """jc - JSON CLI output utility `stat` command output parser +The `xxx_epoch` calculated timestamp fields are naive (i.e. based on the local time of the system the parser is run on) + +The `xxx_epoch_utc` calculated timestamp fields are timezone-aware and are only available if the timezone field is UTC. + Usage (cli): $ stat * | jc --stat