1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2026-04-24 20:56:11 +02:00
Commit Graph

1263 Commits

Author SHA1 Message Date
Kelly Brazil f62446c152 rename variables. add another european time format 2021-03-24 15:04:09 -07:00
Kelly Brazil 56011f1f17 updated upower examples 2021-03-24 14:14:22 -07:00
Kelly Brazil 6d44091c80 refactor parse_datetime_to_timestamp() 2021-03-24 14:01:06 -07:00
Kelly Brazil 440c458eb4 no need for ternary clause 2021-03-24 12:57:19 -07:00
Kelly Brazil 798250af61 use jc.utils.parse_datetime_to_timestamp() function for timestamp creation 2021-03-24 12:49:53 -07:00
Kelly Brazil c762de29c6 doc updates 2021-03-24 12:47:57 -07:00
Kelly Brazil 0701e65e97 add parse_datetime_to_timestamp() function 2021-03-24 12:36:54 -07:00
Kelly Brazil 209d54e8b5 add hour_24 to schema docs 2021-03-24 07:39:11 -07:00
Kelly Brazil 2b38462de7 update examples 2021-03-23 14:59:03 -07:00
Kelly Brazil 1e8e553316 add hour_24 field 2021-03-23 14:47:44 -07:00
Kelly Brazil ab42e6bb15 formatting 2021-03-23 14:10:42 -07:00
Kelly Brazil 6802884540 ensure period is always uppercase in dict value. update period documentation 2021-03-23 14:04:36 -07:00
Kelly Brazil 7cb8577b96 correct epoch_utc calculation. Fix for 12 hour vs. 24 hour representation 2021-03-23 13:55:23 -07:00
Kelly Brazil 55810ccd1f set epoch_dt conversion again if not C locale 2021-03-22 22:10:35 -07:00
Kelly Brazil f9921720cd revert to local testing for naive datetime objects 2021-03-22 22:01:07 -07:00
Kelly Brazil cda1ebd271 try tzset() 2021-03-22 21:53:50 -07:00
Kelly Brazil 6901e4a23a try setting timezone env variable before tests to ensure it is the same on all test systems 2021-03-22 21:49:26 -07:00
Kelly Brazil 6bc21d3c73 fix date parser tests - local tests only since timezones may not match on github actions VMs 2021-03-22 21:05:39 -07:00
Kelly Brazil 1ef231e26a add date parser updates 2021-03-22 20:57:36 -07:00
Kelly Brazil 3cd43f0f98 formatting 2021-03-22 20:57:16 -07:00
Kelly Brazil 1565019966 fix weekday numbering to be ISO 8601 compliant. Add naive calculated epoch timestamp field 2021-03-22 20:56:57 -07:00
Kelly Brazil 0a4de2d3a1 add naive datetime calculation info to docs 2021-03-22 20:22:35 -07:00
Kelly Brazil a058f6c174 added naive epoch calculation info to docs 2021-03-22 20:21:46 -07:00
Kelly Brazil d8e5d03b01 naive updated_epoch timestamp calculation added 2021-03-22 20:21:12 -07:00
Kelly Brazil 9dc62eff2e remove epoch conversions 2021-03-21 15:43:37 -07:00
Kelly Brazil d4fea17c57 use UTC when calculating epoch timestamp. reset time locale to default after changing 2021-03-21 14:03:36 -07:00
Kelly Brazil 3dd7a5b77e add upower docs 2021-03-19 11:00:50 -07:00
Kelly Brazil d77c90a3ba fix quoted values in detail level. Add examples 2021-03-19 10:43:20 -07:00
Kelly Brazil 01f0c20df0 add sample using C locale timestamp 2021-03-18 16:59:46 -07:00
Kelly Brazil aafbe576b3 working parser and processor 2021-03-18 16:59:19 -07:00
Kelly Brazil bd68ad4034 don't modify detail_type value since it is no longer a key 2021-03-17 14:31:51 -07:00
Kelly Brazil bfee017c13 made the schema more explicit by hardcoding more items. still working on the schema 2021-03-17 14:21:19 -07:00
Kelly Brazil 61f532cfd0 working history list 2021-03-17 13:30:47 -07:00
Kelly Brazil 58dbbb75b6 simplified logic 2021-03-17 13:10:52 -07:00
Kelly Brazil 8d88b91fcf move if statements and generalize the history detail detection 2021-03-17 12:49:48 -07:00
Kelly Brazil ad39fc6029 working upower parser. history lines are ignored 2021-03-17 11:26:06 -07:00
Kelly Brazil 89f1fd96e6 add acpi tests 2021-03-16 12:12:01 -07:00
Kelly Brazil bd425f2493 version bump to v1.15.0. Add acpi docs 2021-03-16 11:45:56 -07:00
Kelly Brazil 46962ff02a remove redundant lines 2021-03-12 16:45:15 -08:00
Kelly Brazil e4cb88b051 remove unneeded line-state assignment 2021-03-12 12:47:59 -08:00
Kelly Brazil 32840703dc remove redundant code 2021-03-12 08:55:04 -08:00
Kelly Brazil 1f7aafd041 fix for full charge batter case. Clean up battery object logic 2021-03-12 08:45:32 -08:00
Kelly Brazil 7378d5dce4 remove comment 2021-03-11 21:06:24 -08:00
Kelly Brazil 84f76866cd working process function 2021-03-11 21:05:29 -08:00
Kelly Brazil 322da9ea6a working parser 2021-03-11 20:43:31 -08:00
Kelly Brazil 58645301ec add acpi command parser 2021-03-11 19:55:47 -08:00
Kelly Brazil 1e18dd30a8 Merge pull request #102 from kellyjonbrazil/dev
Dev v1.14.4
v1.14.4
2021-03-05 11:50:37 -08:00
Kelly Brazil cc6a19adcc fix typo in comments 2021-03-05 09:41:17 -08:00
Kelly Brazil 2a5588b177 packaging fix for yaml parser and pyoxidizer 2021-03-05 09:38:22 -08:00
Kelly Brazil 20f9b7f88b fix typo 2021-02-25 11:09:56 -08:00