arrow-py / arrow-py/arrow

Make `dehumanize()` handle values with decimal fractions correctly

Open
#1,237 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
9.1k
Forks
784
PR merge metrics
No merged PRs in 30d

Description

## Feature Request
Currently, `dehumanize()` is not capable of correctly parsing values with a floating point.
```py
>>> arrow.get("2025-12-10T09:00:00").dehumanize("2 days 3.5 hours ago")

```
It seems that parser pretty much ignores the part up to the floating point.

A more expected result, however, would be that resulting Arrow object is ``

Not sure if there is a need to make floating point locale-dependent (ie, `.` or `,`), perhaps it'd be fine to allow both.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.