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
e7751322ea
formatting
2021-03-26 14:55:47 -07:00
26ef298437
change return to always include the entire object but all keys may be None if conversion fails
2021-03-26 14:55:16 -07:00
badaf8ce73
comment formatting
2021-03-26 14:00:33 -07:00
b123a62203
move locale change formats to the end of the list
2021-03-26 13:11:34 -07:00
cfd77e4252
reset locale to None on exception
2021-03-26 13:01:12 -07:00
38f814072e
better normalization of datetime string. better UTC detection. More formats supported with detected locale.
2021-03-26 11:55:12 -07:00
a0db7754e3
add nixos install info
2021-03-26 09:32:49 -07:00
f07620afc7
move version to jc.__init__.py
...
add -h option for help instead of always showing on error
use jc.utils.error_message for the following errors: missing/incorrect arguments, parser not found, missing piped data
2021-03-26 09:28:03 -07:00
c1b0d27752
remove old commented commands
2021-03-25 20:45:38 -07:00
430a5108aa
move all tests to github actions
2021-03-25 20:42:58 -07:00
111ce92fc9
attempt all tests in github actions with timezone correction
2021-03-25 20:37:35 -07:00