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

2329 Commits

Author SHA1 Message Date
e9febe98ac add localtest partition lines for readability 2021-03-25 11:17:01 -07:00
5fbd07cccf rewrite of uptime parser including new fields 2021-03-25 10:31:12 -07:00
5fed4698c2 update docs and version number 2021-03-24 21:57:04 -07:00
ed7eb0983a use parse_datetime_to_timestamp function instead of custom format string 2021-03-24 21:51:43 -07:00
90c7e18e5f update date example 2021-03-24 21:50:32 -07:00
953ab5c3bd make upower tests local only 2021-03-24 21:29:30 -07:00
699c97d8a0 add last parser info 2021-03-24 21:24:47 -07:00
e4ca0de92a add upower tests 2021-03-24 21:24:25 -07:00
04745a36b8 doc update 2021-03-24 20:21:06 -07:00
5936940532 rewrite of date parser using datetime library 2021-03-24 20:20:53 -07:00
b3eb064b67 clarify format definition comments 2021-03-24 17:13:01 -07:00
e4b41057e3 update upower fixture names 2021-03-24 17:02:17 -07:00
1d41c46cc7 normalize datetime string to remove all timezones except UTC 2021-03-24 17:01:56 -07:00
a5c444587b add before and after midnight date tests 2021-03-24 15:13:10 -07:00
a56f471be9 update fixture to use UTC for better testing 2021-03-24 15:05:22 -07:00
6a6b26ed8d fix 12 to 24 hour conversion for midnight cases 2021-03-24 15:04:39 -07:00
f62446c152 rename variables. add another european time format 2021-03-24 15:04:09 -07:00
56011f1f17 updated upower examples 2021-03-24 14:14:22 -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
798250af61 use jc.utils.parse_datetime_to_timestamp() function for timestamp creation 2021-03-24 12:49:53 -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
209d54e8b5 add hour_24 to schema docs 2021-03-24 07:39:11 -07:00
2b38462de7 update examples 2021-03-23 14:59:03 -07:00
1e8e553316 add hour_24 field 2021-03-23 14:47:44 -07:00
ab42e6bb15 formatting 2021-03-23 14:10:42 -07:00
6802884540 ensure period is always uppercase in dict value. update period documentation 2021-03-23 14:04:36 -07:00
7cb8577b96 correct epoch_utc calculation. Fix for 12 hour vs. 24 hour representation 2021-03-23 13:55:23 -07:00
55810ccd1f set epoch_dt conversion again if not C locale 2021-03-22 22:10:35 -07:00
f9921720cd revert to local testing for naive datetime objects 2021-03-22 22:01:07 -07:00
cda1ebd271 try tzset() 2021-03-22 21:53:50 -07:00
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
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
1ef231e26a add date parser updates 2021-03-22 20:57:36 -07:00
3cd43f0f98 formatting 2021-03-22 20:57:16 -07:00
1565019966 fix weekday numbering to be ISO 8601 compliant. Add naive calculated epoch timestamp field 2021-03-22 20:56:57 -07:00
0a4de2d3a1 add naive datetime calculation info to docs 2021-03-22 20:22:35 -07:00
a058f6c174 added naive epoch calculation info to docs 2021-03-22 20:21:46 -07:00
d8e5d03b01 naive updated_epoch timestamp calculation added 2021-03-22 20:21:12 -07:00
9dc62eff2e remove epoch conversions 2021-03-21 15:43:37 -07:00
d4fea17c57 use UTC when calculating epoch timestamp. reset time locale to default after changing 2021-03-21 14:03:36 -07:00
3dd7a5b77e add upower docs 2021-03-19 11:00:50 -07:00
d77c90a3ba fix quoted values in detail level. Add examples 2021-03-19 10:43:20 -07:00
01f0c20df0 add sample using C locale timestamp 2021-03-18 16:59:46 -07:00
aafbe576b3 working parser and processor 2021-03-18 16:59:19 -07:00
bd68ad4034 don't modify detail_type value since it is no longer a key 2021-03-17 14:31:51 -07:00
bfee017c13 made the schema more explicit by hardcoding more items. still working on the schema 2021-03-17 14:21:19 -07:00
61f532cfd0 working history list 2021-03-17 13:30:47 -07:00
58dbbb75b6 simplified logic 2021-03-17 13:10:52 -07:00