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

support relative human readable time format with time zone #44

Open
wjo1212 opened this issue Oct 23, 2018 · 0 comments
Open

support relative human readable time format with time zone #44

wjo1212 opened this issue Oct 23, 2018 · 0 comments

Comments

@wjo1212
Copy link
Contributor

wjo1212 commented Oct 23, 2018

2018-10-10 13:00 UTC-800 work
but doesn't work with relative day like yesterday, -1d etc.

yesterday 13:0:0 UTC-800 doesn't work.

according to https://dateparser.readthedocs.io/en/latest/#timezone-and-utc-offset

need additional parameter: parse('yesterday 00:00:00', settings={'TO_TIMEZONE': 'UTC-8'})

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant