Skip to content
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

Add support for custom locales in date parsers #65

Open
ruippeixotog opened this issue May 12, 2019 · 0 comments
Open

Add support for custom locales in date parsers #65

ruippeixotog opened this issue May 12, 2019 · 0 comments

Comments

@ruippeixotog
Copy link
Owner

When parsing pages in a foreign language - a common use case for this library - it is sometimes needed to parse dates formatted in another locale (e.g. different month and week day names). We should create a built-in parser and scala-scraper-config support for those cases.

DrDub added a commit to DrDub/scala-scraper that referenced this issue Dec 14, 2022
It provides localized datetime parsers in the extraction API similar to the handling of local time zones.

A test case is also provided. The pattern and example comes from ruippeixotog/ebay-snipe-server ruippeixotog#7.
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

No branches or pull requests

1 participant