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

doc update

This commit is contained in:
Kelly Brazil
2021-03-24 20:21:06 -07:00
parent 5936940532
commit 04745a36b8
2 changed files with 8 additions and 5 deletions

View File

@ -3,11 +3,13 @@ jc changelog
20210316 v1.15.0 20210316 v1.15.0
- Add acpi parser tested on linux - Add acpi parser tested on linux
- Add upower parser tested on linux - Add upower parser tested on linux
- Update date parser to make weekday numbering ISO 8601 compliant - Update date parser: complete rewrite (v2.0) providing many enhancements:
- Update date parser to add a calculated (naive) epoch timestamp - Mmake weekday numbering ISO 8601 compliant
- Update date parser to add a calculated timezone-aware epoch_utc timestamp if the date output is in UTC - Add a calculated naive timestamp
- Update date parser to always set the period value to uppercase AM or PM - Add a calculated UTC timestamp (only if date output is in UTC)
- Update date parser to add an hour_24 field to always express the hour in 24-hour format - Add several fields, including: hour_24, utc_offset, day_of_year, week_of_year, iso, and timezone_aware
- Update uptime parser to provide datestamps
- Add -h option to display the help text. Piping errors no longer show the help text.
20210305 v1.14.4 20210305 v1.14.4
- Packaging fix only for binaries and RPMs hosted on https://github.com/kellyjonbrazil/jc-packaging. - Packaging fix only for binaries and RPMs hosted on https://github.com/kellyjonbrazil/jc-packaging.

View File

@ -133,6 +133,7 @@ def parse_datetime_to_timestamp(data):
] ]
# from https://www.timeanddate.com/time/zones/ # from https://www.timeanddate.com/time/zones/
# only removed UTC timezone
tz_abbr = ['A', 'ACDT', 'ACST', 'ACT', 'ACWST', 'ADT', 'AEDT', 'AEST', 'AET', 'AFT', 'AKDT', 'AKST', 'ALMT', tz_abbr = ['A', 'ACDT', 'ACST', 'ACT', 'ACWST', 'ADT', 'AEDT', 'AEST', 'AET', 'AFT', 'AKDT', 'AKST', 'ALMT',
'AMST', 'AMT', 'ANAST', 'ANAT', 'AQTT', 'ART', 'AST', 'AT', 'AWDT', 'AWST', 'AZOST', 'AZOT', 'AMST', 'AMT', 'ANAST', 'ANAT', 'AQTT', 'ART', 'AST', 'AT', 'AWDT', 'AWST', 'AZOST', 'AZOT',
'AZST', 'AZT', 'AoE', 'B', 'BNT', 'BOT', 'BRST', 'BRT', 'BST', 'BTT', 'C', 'CAST', 'CAT', 'CCT', 'AZST', 'AZT', 'AoE', 'B', 'BNT', 'BOT', 'BRST', 'BRT', 'BST', 'BTT', 'C', 'CAST', 'CAT', 'CCT',