1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-06-21 00:19:42 +02:00
Commit Graph

1756 Commits

Author SHA1 Message Date
be004b7b3f make parse_datetime_to_timestamp function a class called timestamp for easier use 2021-04-01 11:07:37 -07:00
82539444b2 fix indentation for int and float conversions. add real_time field to schema 2021-03-31 20:48:44 -07:00
a571d3cbaf fix typo 2021-03-31 20:41:04 -07:00
a038c14c23 change microseconds to centiseconds 2021-03-31 20:39:03 -07:00
25a85d874c update docs 2021-03-31 20:21:29 -07:00
884c36ff42 add /usr/bin/time parser 2021-03-31 20:19:46 -07:00
b98e72b8b4 add ls parser info 2021-03-30 21:33:23 -07:00
05885c0096 add epoch and epoch_utc timestamps 2021-03-30 21:29:34 -07:00
4c9761231a add when_epoch and when_epoch_utc fields 2021-03-30 20:41:10 -07:00
656eaa1508 formatting 2021-03-30 16:43:53 -07:00
1560dcddcf add acpi, upower parsers and -v version option 2021-03-30 16:43:02 -07:00
08d4cd4870 add time calculations to acpi parser 2021-03-30 16:34:01 -07:00
9767a50ced update who parser to add epoch naive timestamp 2021-03-30 11:59:44 -07:00
cd86890ed1 add website to info and use variables for version info 2021-03-30 08:05:26 -07:00
ba0dd3b9ca add parse_timedate_to_timestamp test for format 7300 2021-03-29 21:25:19 -07:00
8d7fa07ffd unformat json 2021-03-29 21:20:19 -07:00
cade1bfe6e update timedatectl tests for new epoch_utc field 2021-03-29 21:19:12 -07:00
daec4ab0a7 add epoch_utc field to timedatectl parser 2021-03-29 21:16:40 -07:00
3c96bc3196 version bump 2021-03-29 20:57:58 -07:00
7f7d8d4bd6 update stat docs 2021-03-29 20:36:10 -07:00
47263661a4 update stat example 2021-03-29 20:30:20 -07:00
4c42a086d2 clean up debug code 2021-03-29 20:25:54 -07:00
5d2541a5c4 remove auto c locale and use a manual format rule for windows and linux compatibility 2021-03-29 20:22:35 -07:00
d91d170b49 try manual c locale format for windows 2021-03-29 20:16:05 -07:00
6d1f4584a9 try manually setting time format for windows compatibility 2021-03-29 20:05:42 -07:00
1d76d96bcf debug windows issue 2021-03-29 16:58:57 -07:00
e8847c998c update stat tests 2021-03-29 16:35:26 -07:00
da88e49bae add new examples 2021-03-29 15:36:16 -07:00
65c3a12e54 simplify None data scenario 2021-03-29 15:32:04 -07:00
d8d600cc36 add reference to -h for help 2021-03-29 14:51:48 -07:00
507999b117 add stat command timestamp detection 2021-03-29 14:45:13 -07:00
8ad164eb34 fix tests for compact output 2021-03-29 12:33:54 -07:00
a507df140b add compact json info 2021-03-29 12:25:58 -07:00
8912a99986 make default json output more compact 2021-03-29 12:25:48 -07:00
1953f98828 add version info. add json now supports unicode output 2021-03-29 11:44:43 -07:00
7515218ddd use jc.utils for all warning and error messages. simply error and warning formatting. 2021-03-29 11:42:01 -07:00
36c1120136 formatting 2021-03-29 10:59:56 -07:00
8fa0fe64d8 add -v to helptext. minor formatting 2021-03-29 10:52:02 -07:00
c1a8201b14 add copyright 2021-03-29 10:24:58 -07:00
398bbac48c simplify return value for parse_datetime_to_timestamp() 2021-03-29 10:23:52 -07:00
ea71a42bbd formatting 2021-03-29 09:43:19 -07:00
1c16d25b17 add version option (-v) and copyright information. add 'ensure_ascii=False' to json dumps to properly show UTF-8 copyright character 2021-03-29 09:41:15 -07:00
9d12ded889 help description change 2021-03-26 16:32:17 -07:00
5312701515 add - make all external python requirements optional 2021-03-26 16:29:10 -07:00
808c7bc0a9 make xmltodict library optional 2021-03-26 16:14:35 -07:00
4d394015f4 make ruamel.yaml library optional 2021-03-26 16:10:28 -07:00
3638298af8 make pygments library optional 2021-03-26 15:54:45 -07:00
5f00973e40 remove parenthesis to normalize text for naive timezone detection 2021-03-26 15:38:57 -07:00
0f6e2c14fc simplify timestamp failure logic 2021-03-26 14:57:19 -07:00
51813da619 add offset timezones. fix timestamp logic on conversion failure 2021-03-26 14:56:45 -07:00