annotate tests/_files/README @ 3905:92482cc80d0b
tools (common/date_utils) handle timestamp and `in` + `delta2human`:
regex used to parse datetimes has been improved to handle a unix time (which can be used
with `+ <delta>` or `- <delta>`), and the `in <delta>` (e.g. `in 6 days`).
`DEFAULT_DATETIME` has been removed as dateutil use current date by default, which is the
expected behaviour.
Add `delta2human` method which convert the difference of 2 unix times to a human friendly
approximate text.
rel 372
author |
Goffi <goffi@goffi.org> |
date |
Thu, 22 Sep 2022 00:01:48 +0200 |
parents |
a6ea53248c14 |
children |
|
rev |
line source |
3428
|
1 Those files are used for testing, and use big compression level on purpose. |
|
2 |
|
3 They are personal work from Jérôme Poisson and can be re-used under the licence CC By-SA 4.0 |
|
4 Note that this licence only apply to this dir and its subdirectories. |
|
5 |
|
6 This work is licensed under the Creative Commons Attribution-ShareAlike 4.0 International License. To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/4.0/ or send a letter to Creative Commons, PO Box 1866, Mountain View, CA 94042, USA. |