1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-06-23 00:29:59 +02:00
Commit Graph

3595 Commits

Author SHA1 Message Date
c851e8a58d force github action 2021-03-25 20:33:25 -07:00
39f4bcd9b4 Change Windows timezone
use "Pacific Standard Time"
2021-03-25 20:30:13 -07:00
4a610c4c81 force github action 2021-03-25 19:57:32 -07:00
89ee11945d Change timezone provider
uses: szenius/set-timezone@v1.0
2021-03-25 19:55:21 -07:00
dadb09b74a force github action 2021-03-25 19:52:43 -07:00
1b1f638b97 Change timezone change provider
change to actions/set-timezone-action
2021-03-25 19:49:03 -07:00
794fc4ed44 add parse_datetime_to_timestamp() tests 2021-03-25 19:43:16 -07:00
72f735bf92 Set Timezone to America/Los_Angeles
Using zcong1993/setup-timezone
2021-03-25 19:42:02 -07:00
912877f25a additional timezone info 2021-03-25 15:34:54 -07:00
2772c5ae43 formatting 2021-03-25 15:10:07 -07:00
a7ad24d2cb Add dir parser
Add usage commands

Fix example options

update dir.md
2021-03-25 18:09:47 -04:00
a364a6a9fa add note regarding calculated timestamps 2021-03-25 15:08:23 -07:00
7b2dc86a8d update last example with new timestamp fields 2021-03-25 12:07:36 -07:00
ad645636d0 update uptime docs 2021-03-25 11:43:30 -07:00
2f2f297b29 update uptime fixtures with new fields 2021-03-25 11:35:21 -07:00
099ae3fde0 fix issue when there is no data 2021-03-25 11:17:44 -07:00
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