Metadata-Version: 2.1
Name: cn2date
Version: 0.0.4
Summary: 中文日期 、口语 转换为 日期字符串
Home-page: https://github.com/drawmoon/cn2date
Author: drawmoon
Author-email: 1340260725@qq.com
License: MIT License
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3.9
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: lark-parser
Requires-Dist: python-dateutil
Requires-Dist: cn2an

# cn2date

中文日期 、口语 转换为 日期字符串

## 安装

```bash
pip install cn2date
```

## 使用

```python
from cn2date import parse

result = parse("二零二一年九月十七日")
# 输出结果：('2021-09-17 00:00:00', '2021-09-18 00:00:00')

result = parse("今天")
# 输出结果：('2022-02-23 00:00:00', '2022-02-24 00:00:00')

result = parse("本季度")
# 输出结果：('2022-01-01 11:43:31', '2022-04-01 11:43:31')
```

## 许可证

[MIT License](LICENSE)

