diff --git a/README.md b/README.md index c61824b..197686c 100644 --- a/README.md +++ b/README.md @@ -103,7 +103,9 @@ def test_dt_to_str(): dt3 = timedelta(seconds=3600 * 8 + 60 * 24 + 12) logger.note(f"dt3: {logstr.success(dt_to_str(dt3))}") dt4 = timedelta(seconds=3600 * 24 * 1 + 3600 * 8 + 60 * 24 + 12) - logger.note(f"dt4: {logstr.success(dt_to_str(dt4))}") + logger.note(f"dt4: {logstr.success(dt_to_str(dt4, precision=3))}") + dt5 = 360100.123 + logger.note(f"dt5: {logstr.success(dt_to_str(dt5, precision=3))}") t_ts = 1700000000 t_ts, t_str = unify_ts_and_str(t_ts) diff --git a/pyproject.toml b/pyproject.toml index 904ad8d..9e0da1c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "tclogger" -version = "1.2.9.1" +version = "1.2.10" authors = [ { name="Hansimov" }, ]