arrow icon indicating copy to clipboard operation
arrow copied to clipboard

🏹 Better dates & times for Python

Results 121 arrow issues
Sort by recently updated
recently updated
newest added

We had a PR in 2017 that addressed this issue (https://github.com/crsmithdev/arrow/pull/414), but it was never merged in, and the Cython implementation has since gotten outdated. It would be great if...

enhancement
performance

I don't think any number would work in my implementation but I can increase it to any finite number you want (say 2 or 3 punctuation marks). I think one...

enhancement

I would like to use `arrow`'s `humanize()` for the bold part of this: > Task has completed in **10 seconds**. With 1000 subtasks, that is **10 milliseconds** per subtask. Currently,...

proposal

Would it be possible to add a halfhour to _get_frames to allow ceil and round to round to the nearest half hour ? Or is that currently possible ?

enhancement

Firstly, 9 fractional second digits is approved in ISO8610(RFC3339). > ... one or more digits representing a decimal fraction of a second as it put (https://www.w3.org/TR/NOTE-datetime). A 9 fractional second...

proposal

`dateutil` exposes two "local time" functions - `tzlocal()` and `tzwinlocal()`. In most cases, this is perfectly acceptable because `tzlocal()` uses the `time` module to query to operating system about the...

enhancement

It would be awesome if we could set a default locale for arrow globally. Right now it's hardcoded to `en_us` in several places in the code. If we could set...

enhancement
localization

A great side effect of how Arrow's formatting is implemented, is that it can be used like any other type with regular string formatting, e.g. `'My name is {name} and...

enhancement
localization

I just stumbled upon [dmc](https://github.com/rhettg/dmc), a different library for handling dates and times in Python. With this library you are able to [mock the current time](https://github.com/rhettg/dmc#testing). It could be like...

enhancement
proposal accepted

The current i18n implementation doesn't allow enough granularity for languages with noun suffixes like Hungarian. In Hungarian, "17 years" would be translated as "17 év". However, "17 years ago" is...

bug
localization