-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Convenience Functionality for BusinessOpeningHours #4861
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
b175dab
Convenience Functionality for BusinessOpeningHours
Aweryc 49aa14b
Merge pull request #1 from Aweryc/convenience-functionalty-BOH
Aweryc 0cd3963
Merge branch 'master' into master
Aweryc e3132e9
Update changes/unreleased/48XX._.toml
Aweryc fa4e6cd
Update src/telegram/_utils/datetime.py
Aweryc 9c183e7
Update src/telegram/_utils/datetime.py
Aweryc 0b836cf
Update tests/_utils/test_datetime.py
Aweryc 5a91e66
Rename 48XX._.toml to 4861.HEoGVs2mYXWzqMahi6SEhV.toml
Aweryc 869748e
Merge branch 'python-telegram-bot:master' into master
Aweryc 83cb615
Update pyproject.toml
Aweryc 73def0a
Revert enum.py
Aweryc 0a70348
Proper re-raise zoneinfo.ZoneInfoNotFoundError
Aweryc 99634d0
Update datetime.py
Aweryc 86540bf
Rename change file .toml
Aweryc 6ff094d
revert pyproject.toml
Aweryc c63f1eb
remove TelegramError
Aweryc a40a573
Fix a code and tests
Aweryc 80ebca4
Merge branch 'master' into convenience-functionalty-BOH
Aweryc 264f6f5
Merge pull request #2 from Aweryc/convenience-functionalty-BOH
Aweryc 6bbc7d6
Merge branch 'python-telegram-bot:master' into master
Aweryc 0732859
Fix a code and tests
Aweryc 4c8995e
Merge branch 'convenience-functionalty-BOH'
Aweryc 74e9d13
Merge remote-tracking branch 'origin/master'
Aweryc 60341e4
Fix a code and tests from comments GitHub PR discussion
Aweryc 4c7bd16
Merge branch 'master' into convenience-functionalty-BOH
Aweryc ac53a8a
Merge branch 'master' into master
Aweryc 4a5876c
Update changes/unreleased/4861.HEoGVs2mYXWzqMahi6SEhV.toml
Aweryc 549b5a0
Apply suggestions from code review
Aweryc 1a2c9da
revert changes datetime.py
Aweryc 5285ab0
Merge branch 'master' into aweryc-master
Bibo-Joshi c0d46a6
Implement Review changes + plus some smaller changes
Bibo-Joshi fa8633f
fix failing test
Bibo-Joshi 77a64b3
Remove superflous path in get_zone_info
Bibo-Joshi 3377c3e
review
Bibo-Joshi bf0bab8
Update tests/test_business_classes.py
Bibo-Joshi 45a5bec
ruff
Bibo-Joshi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| features = """ | ||
| Add convenience methods for ``BusinessOpeningHours``: | ||
|
|
||
| * ``get_opening_hours_for_day``: returns the opening hours applicable for a specific date | ||
| * ``is_open``: indicates whether the business is open at the specified date and time. | ||
| """ | ||
| [[pull_requests]] | ||
| uid = "4861" | ||
| author_uid = "Aweryc" | ||
| closes_threads = ["4194"] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.