Skip to content

docs: Update README with accurate zmanim times#46

Merged
essel-dev merged 2 commits intomasterfrom
docs
Dec 20, 2024
Merged

docs: Update README with accurate zmanim times#46
essel-dev merged 2 commits intomasterfrom
docs

Conversation

@essel-dev
Copy link
Owner

The README examples have been updated to reflect the accurate zmanim times calculated using the Astral library. Astral provides more precise calculations for sunrise, sunset, and other zmanim, ensuring that the examples showcase the true capabilities of JewCal.

The README examples have been updated to reflect the accurate zmanim times calculated using the Astral library. Astral provides more precise calculations for sunrise, sunset, and other zmanim, ensuring that the examples showcase the true capabilities of JewCal.
This commit refines the handling of zmanim objects in the `__main__.py` example code by using the walrus operator (`:=`). This allows for a more concise and efficient check for the presence of zmanim before accessing their properties.

The walrus operator improves readability and reduces code duplication by assigning and checking the zmanim object in a single expression. This change enhances the clarity and maintainability of the example code, making it easier for users to understand how to use the `JewCal` library.
@essel-dev essel-dev merged commit d224ca3 into master Dec 20, 2024
8 checks passed
@essel-dev essel-dev deleted the docs branch December 20, 2024 11:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant