From 8609298449e997ba4804d818f4fc23cb393ded7d Mon Sep 17 00:00:00 2001 From: Kelly Brazil Date: Wed, 5 Jan 2022 11:25:58 -0800 Subject: [PATCH] update docstring --- jc/parsers/stat_s.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/jc/parsers/stat_s.py b/jc/parsers/stat_s.py index 2062ea7d..2c83f09c 100644 --- a/jc/parsers/stat_s.py +++ b/jc/parsers/stat_s.py @@ -2,11 +2,13 @@ > This streaming parser outputs JSON Lines -<> +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-s + $ stat * | jc --stat-s Usage (module): @@ -203,8 +205,8 @@ def parse(data, raw=False, quiet=False, ignore_exceptions=False): continue # line #5 + # not implemented if line.startswith('Context: '): - # ignore this line continue # line #6