pyformatjson 0.3.1__tar.gz → 0.3.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pyformatjson-0.3.1 → pyformatjson-0.3.2}/PKG-INFO +1 -1
- {pyformatjson-0.3.1 → pyformatjson-0.3.2}/pyformatjson/tools/generate_dict.py +2 -2
- {pyformatjson-0.3.1 → pyformatjson-0.3.2}/pyproject.toml +1 -1
- {pyformatjson-0.3.1 → pyformatjson-0.3.2}/.github/workflows/docs.yml +0 -0
- {pyformatjson-0.3.1 → pyformatjson-0.3.2}/.github/workflows/publish.yml +0 -0
- {pyformatjson-0.3.1 → pyformatjson-0.3.2}/.github/workflows/release.yml +0 -0
- {pyformatjson-0.3.1 → pyformatjson-0.3.2}/.gitignore +0 -0
- {pyformatjson-0.3.1 → pyformatjson-0.3.2}/.python-version +0 -0
- {pyformatjson-0.3.1 → pyformatjson-0.3.2}/CODE_OF_CONDUCT.md +0 -0
- {pyformatjson-0.3.1 → pyformatjson-0.3.2}/LICENSE +0 -0
- {pyformatjson-0.3.1 → pyformatjson-0.3.2}/README.md +0 -0
- {pyformatjson-0.3.1 → pyformatjson-0.3.2}/docs/api-manual/index.md +0 -0
- {pyformatjson-0.3.1 → pyformatjson-0.3.2}/docs/index.md +0 -0
- {pyformatjson-0.3.1 → pyformatjson-0.3.2}/docs/requirements.txt +0 -0
- {pyformatjson-0.3.1 → pyformatjson-0.3.2}/docs/users-guide/bug-report.md +0 -0
- {pyformatjson-0.3.1 → pyformatjson-0.3.2}/docs/users-guide/installation.md +0 -0
- {pyformatjson-0.3.1 → pyformatjson-0.3.2}/docs/users-guide/pull-request.md +0 -0
- {pyformatjson-0.3.1 → pyformatjson-0.3.2}/main.sublime-project +0 -0
- {pyformatjson-0.3.1 → pyformatjson-0.3.2}/mkdocs.yml +0 -0
- {pyformatjson-0.3.1 → pyformatjson-0.3.2}/pyformatjson/__init__.py +0 -0
- {pyformatjson-0.3.1 → pyformatjson-0.3.2}/pyformatjson/core/__init__.py +0 -0
- {pyformatjson-0.3.1 → pyformatjson-0.3.2}/pyformatjson/core/_base.py +0 -0
- {pyformatjson-0.3.1 → pyformatjson-0.3.2}/pyformatjson/core/update_json.py +0 -0
- {pyformatjson-0.3.1 → pyformatjson-0.3.2}/pyformatjson/main.py +0 -0
- {pyformatjson-0.3.1 → pyformatjson-0.3.2}/pyformatjson/tools/__init__.py +0 -0
- {pyformatjson-0.3.1 → pyformatjson-0.3.2}/pyformatjson/tools/write_dict.py +0 -0
- {pyformatjson-0.3.1 → pyformatjson-0.3.2}/scripts/generate_docs.py +0 -0
- {pyformatjson-0.3.1 → pyformatjson-0.3.2}/tests/test_main.py +0 -0
|
@@ -495,13 +495,13 @@ class GenerateDataDict:
|
|
|
495
495
|
# Vue.js template format
|
|
496
496
|
if (abstract_due is not None) and (abstract_due != "TBD"):
|
|
497
497
|
abstract_indicator = f"**{{{{ diffDate('{abstract_due}') }}}}**"
|
|
498
|
-
if (start_date is not None) and (
|
|
498
|
+
if (start_date is not None) and (start_date != "TBD"):
|
|
499
499
|
start_indicator = f"**{{{{ diffDate('{start_date}') }}}}**"
|
|
500
500
|
else:
|
|
501
501
|
# Standard day count format
|
|
502
502
|
if (abstract_due is not None) and (abstract_due != "TBD"):
|
|
503
503
|
abstract_indicator = (abstract_due - today).days if today <= abstract_due else "Expired"
|
|
504
|
-
if (start_date is not None) and (
|
|
504
|
+
if (start_date is not None) and (start_date != "TBD"):
|
|
505
505
|
start_indicator = (start_date - today).days if today <= start_date else "Expired"
|
|
506
506
|
|
|
507
507
|
return abstract_indicator, start_indicator
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|