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.
Files changed (28) hide show
  1. {pyformatjson-0.3.1 → pyformatjson-0.3.2}/PKG-INFO +1 -1
  2. {pyformatjson-0.3.1 → pyformatjson-0.3.2}/pyformatjson/tools/generate_dict.py +2 -2
  3. {pyformatjson-0.3.1 → pyformatjson-0.3.2}/pyproject.toml +1 -1
  4. {pyformatjson-0.3.1 → pyformatjson-0.3.2}/.github/workflows/docs.yml +0 -0
  5. {pyformatjson-0.3.1 → pyformatjson-0.3.2}/.github/workflows/publish.yml +0 -0
  6. {pyformatjson-0.3.1 → pyformatjson-0.3.2}/.github/workflows/release.yml +0 -0
  7. {pyformatjson-0.3.1 → pyformatjson-0.3.2}/.gitignore +0 -0
  8. {pyformatjson-0.3.1 → pyformatjson-0.3.2}/.python-version +0 -0
  9. {pyformatjson-0.3.1 → pyformatjson-0.3.2}/CODE_OF_CONDUCT.md +0 -0
  10. {pyformatjson-0.3.1 → pyformatjson-0.3.2}/LICENSE +0 -0
  11. {pyformatjson-0.3.1 → pyformatjson-0.3.2}/README.md +0 -0
  12. {pyformatjson-0.3.1 → pyformatjson-0.3.2}/docs/api-manual/index.md +0 -0
  13. {pyformatjson-0.3.1 → pyformatjson-0.3.2}/docs/index.md +0 -0
  14. {pyformatjson-0.3.1 → pyformatjson-0.3.2}/docs/requirements.txt +0 -0
  15. {pyformatjson-0.3.1 → pyformatjson-0.3.2}/docs/users-guide/bug-report.md +0 -0
  16. {pyformatjson-0.3.1 → pyformatjson-0.3.2}/docs/users-guide/installation.md +0 -0
  17. {pyformatjson-0.3.1 → pyformatjson-0.3.2}/docs/users-guide/pull-request.md +0 -0
  18. {pyformatjson-0.3.1 → pyformatjson-0.3.2}/main.sublime-project +0 -0
  19. {pyformatjson-0.3.1 → pyformatjson-0.3.2}/mkdocs.yml +0 -0
  20. {pyformatjson-0.3.1 → pyformatjson-0.3.2}/pyformatjson/__init__.py +0 -0
  21. {pyformatjson-0.3.1 → pyformatjson-0.3.2}/pyformatjson/core/__init__.py +0 -0
  22. {pyformatjson-0.3.1 → pyformatjson-0.3.2}/pyformatjson/core/_base.py +0 -0
  23. {pyformatjson-0.3.1 → pyformatjson-0.3.2}/pyformatjson/core/update_json.py +0 -0
  24. {pyformatjson-0.3.1 → pyformatjson-0.3.2}/pyformatjson/main.py +0 -0
  25. {pyformatjson-0.3.1 → pyformatjson-0.3.2}/pyformatjson/tools/__init__.py +0 -0
  26. {pyformatjson-0.3.1 → pyformatjson-0.3.2}/pyformatjson/tools/write_dict.py +0 -0
  27. {pyformatjson-0.3.1 → pyformatjson-0.3.2}/scripts/generate_docs.py +0 -0
  28. {pyformatjson-0.3.1 → pyformatjson-0.3.2}/tests/test_main.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: pyformatjson
3
- Version: 0.3.1
3
+ Version: 0.3.2
4
4
  Summary: pyformatjson
5
5
  Project-URL: Homepage, https://github.com/Easy-PhD/pyformatjson
6
6
  Project-URL: Repository, https://github.com/Easy-PhD/pyformatjson
@@ -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 (abstract_due != "TBD"):
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 (abstract_due != "TBD"):
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
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "pyformatjson"
3
- version = "0.3.1"
3
+ version = "0.3.2"
4
4
  description = "pyformatjson"
5
5
  license = "GPL-3.0-or-later"
6
6
  license-files = ["LICENSE"]
File without changes
File without changes
File without changes
File without changes
File without changes