Skip to content

Commit

Permalink
Update for v2.4.1 release
Browse files Browse the repository at this point in the history
  • Loading branch information
cuu508 committed Apr 27, 2023
1 parent 81f4e4f commit e45df60
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Changelog
All notable changes to this project will be documented in this file.

## 2.5-dev - Unreleased
- Fix month-day formatting ("January 1st" -> "January 1")
- Change ordinal formatting to use words instead of numerals for 1-9
- Fix digital time formatting (use HH:MM instead H:MM)
## 2.4.1 - 2023-04-27
- [explain] Fix month-day formatting ("January 1st" -> "January 1")
- [explain] Change ordinal formatting to use words instead of numerals for 1-9
- [explain] Fix digital time formatting (use HH:MM instead H:MM)

## 2.4 - 2023-04-26
- Add explain() method which describes the expression in human language
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ print(expr.explain())
Outputs:

```
Every 5th minute from 9:00 through 17:59
Every fifth minute from 09:00 through 17:59
```

The text descriptions are available in English only. The text descriptions
Expand Down
2 changes: 1 addition & 1 deletion cronsim/explain.py
Original file line number Diff line number Diff line change
Expand Up @@ -572,7 +572,7 @@ def explain(expr: str) -> str:
"""Convert the given cron expression to human-friendly description.
>>> explain("0 0 15 JAN-FEB *")
'At 00:00 on the 15th day of month in January and February'
'At 00:00 on the 15th day of January and February'
"""
parts = expr.upper().split()
return Expression(parts).explain()
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

setup(
name="cronsim",
version="2.4",
version="2.4.1",
url="https://github.com/cuu508/cronsim",
license="BSD",
author="Pēteris Caune",
Expand Down

0 comments on commit e45df60

Please sign in to comment.