feat: adds dateparser dependency for parsing timezone abbrs.#636
Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR introduces the dateparser library to enable parsing of date strings with timezone abbreviations returned by certain endpoints.
- Adds
dateparseras a direct dependency. - Enables downstream connectors (e.g., Amazon Seller Partner) to handle timezone‐abbreviated dates.
Comments suppressed due to low confidence (2)
pyproject.toml:94
- [nitpick] Consider updating the project README or changelog to mention the addition of
dateparserand the new support for parsing timezone‐abbreviated dates.
dateparser = "^1.2.2"
pyproject.toml:94
- Add or update unit tests to verify that date strings with timezone abbreviations are correctly parsed using the new
dateparserdependency.
dateparser = "^1.2.2"
dateparser dependency for parsing timezone abbrs.
📝 WalkthroughWalkthroughA new dependency, Changes
Sequence Diagram(s)No sequence diagram generated, as the change is limited to dependency management. 📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
⏰ Context from checks skipped due to timeout of 90000ms (14)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
What
dateparserdependency for parsing timezone abbrs.dateparserrepo here: https://github.com/scrapinghub/dateparserWhy
source-amazon-seller-partnerbecause one endpoint likes returning dates with timezone abbreviations appended to the end of the string.dateparserrepo appears to be regularly maintained.Important
Auto-merge enabled.
This PR is set to merge automatically when all requirements are met.
Summary by CodeRabbit