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

Update README.rst #1009

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update README.rst #1009

wants to merge 1 commit into from

Conversation

XinyiXiang
Copy link

This fixes the confusion mentioned in #465 by adding example usage to the documentation

Comment on lines +135 to +140
You can control the language locale by using the ``region`` parameter, second part of string correlates to region (en-AU --> region = AU (Australia)):

.. code:: python

>>> dateparser.parse("March 29, 1961 6:24pm", region='AU')
1961-03-29 18:24:00
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should mention all 3 fields for this: locales, languages, and region.

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.

2 participants