1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-06-17 00:07:37 +02:00
Commit Graph

106 Commits

Author SHA1 Message Date
27eb427245 add stream_error function 2021-09-13 18:29:10 -07:00
db47f35783 add working sfdisk parser 2021-06-30 12:38:36 -07:00
fc57bcfce2 fix for when UTC is referenced as "Coordinated Universal Time" 2021-05-16 20:51:39 -07:00
f46b33eacf add windows time format 2021-05-16 19:20:13 -07:00
f475fe44df add new time format for systeminfo 2021-05-16 19:09:53 -07:00
9747ca414d minor optimization to convert_to_int(). No longer runs through convert_to_float(), but uses standard float() function. 2021-04-20 10:50:20 -07:00
7eddf41c5f dont round up int conversions and fix tests 2021-04-18 17:21:08 -07:00
d36b332bd7 use jc.utils for conversions 2021-04-18 16:33:47 -07:00
246c707c98 use jc.utils conversions 2021-04-18 11:46:42 -07:00
b5d8968144 add convert_to_int function 2021-04-17 17:22:59 -07:00
89f52b95f7 update systeminfo parser with updated timestamps, normalized blank fields, and new doc style 2021-04-14 20:20:46 -07:00
14838f7f5d update schema with nic, hyperv, and process changes 2021-04-14 11:38:50 -05:00
b7dbf2c49b doc formatting 2021-04-06 18:53:50 -07:00
ac932c6e59 update timestamp docs 2021-04-03 14:48:30 -07:00
9559c85057 add windows dir format 2021-04-02 12:01:05 -07:00
fc4082a03f remove old parse_datetime_to_timestamp function 2021-04-01 11:26:02 -07:00
be004b7b3f make parse_datetime_to_timestamp function a class called timestamp for easier use 2021-04-01 11:07:37 -07:00
9767a50ced update who parser to add epoch naive timestamp 2021-03-30 11:59:44 -07:00
daec4ab0a7 add epoch_utc field to timedatectl parser 2021-03-29 21:16:40 -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
65c3a12e54 simplify None data scenario 2021-03-29 15:32:04 -07:00
507999b117 add stat command timestamp detection 2021-03-29 14:45:13 -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
398bbac48c simplify return value for parse_datetime_to_timestamp() 2021-03-29 10:23:52 -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
794fc4ed44 add parse_datetime_to_timestamp() tests 2021-03-25 19:43:16 -07:00
04745a36b8 doc update 2021-03-24 20:21:06 -07:00
b3eb064b67 clarify format definition comments 2021-03-24 17:13:01 -07:00
1d41c46cc7 normalize datetime string to remove all timezones except UTC 2021-03-24 17:01:56 -07:00
f62446c152 rename variables. add another european time format 2021-03-24 15:04:09 -07:00
6d44091c80 refactor parse_datetime_to_timestamp() 2021-03-24 14:01:06 -07:00
440c458eb4 no need for ternary clause 2021-03-24 12:57:19 -07:00
c762de29c6 doc updates 2021-03-24 12:47:57 -07:00
0701e65e97 add parse_datetime_to_timestamp() function 2021-03-24 12:36:54 -07:00
f852b8246a wrap warning message 2020-06-30 11:50:37 -07:00
d0d7254c6a add docstring 2020-06-14 17:23:10 -07:00
cc0f0971d7 Improve and standardize empty data check for all parsers 2020-06-14 17:17:40 -07:00
8f2e5e4808 fix compatible logic 2020-05-30 17:46:09 -07:00
bf2ff3ffbb fix compatibility search for platform names that append the version number (e.g. freebsd12) 2020-05-30 15:48:29 -07:00
75eff3adea remove whitespace 2019-12-14 23:56:40 -08:00
2f805da24d add colon to parameter in docs 2019-11-13 08:04:40 -08:00
eef0dee2aa doc update 2019-11-12 14:20:59 -08:00