Skip to content

Parsing Chinese 12-hour clock times #232

Closed

Description

@klvbdmh

dateparser cannot parse Chinese strings with time indicators like 晚 (evening), 下午 (afternoon), or 中午 (noon).

Code to reproduce the issue

import dateparser

dateparser.parse('2016年9月14日晚8:00')

Expected behavior

The above code should return datetime.datetime(2016, 9, 14, 20, 0)

Observed behavior

The above code returns None

Activity

  1. modified the milestone: on Sep 19, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions