arrow
arrow copied to clipboard
🏹 Better dates & times for Python
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...
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...
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,...
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 ?
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...
`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...
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...
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...
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...
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...