We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
does is only support English ? not support Chinese ? I input some chinese time ,such as "上周四" "上个月8号", output is current time .. it's incorrect ..
The text was updated successfully, but these errors were encountered:
even if I set timezone to "Asia/Shanghai" , output is still current time ..
Sorry, something went wrong.
This is my code:
`from datetime import datetime import parsedatetime as pdt from pytz import timezone
cal = pdt.Calendar() now = datetime.now() print(now)
string = '60分钟前' p_str = cal.parseDT(string, now, tzinfo=timezone("Asia/Shanghai")) print(p_str[0])`
No branches or pull requests
does is only support English ? not support Chinese ?
I input some chinese time ,such as "上周四" "上个月8号", output is current time .. it's incorrect ..
The text was updated successfully, but these errors were encountered: