Date not recognized
- Dominant language
- Haskell
- Stars
- 4.3k
- Forks
- 740
- PR merge metrics
- No merged PRs in 30d
Description
Offending input: `01.07.2021`
Command:
```bash
curl -XPOST http://0.0.0.0:8000/parse --data 'locale=fr_CH&text="01.07.2021"'
```
Current output:
```json
[
{
"body": "01.07.2021",
"dim": "phone-number",
"end": 11,
"latent": false,
"start": 1,
"value": {
"type": "value",
"value": "01072021"
}
},
{
"body": "2021\"",
"dim": "duration",
"end": 12,
"latent": false,
"start": 7,
"value": {
"normalized": {
"unit": "second",
"value": 2021
},
"second": 2021,
"type": "value",
"unit": "second",
"value": 2021
}
}
]
```
Contributor guide
Assessment
This issue has not been assessed yet.