For convert time string, skip convert if incoming value is a number of any type

Any float number will be rounded, and everything that is any kind of number will be then converted to int and returned
The rest will be converted to string and normal convert is run
This commit is contained in:
Clemens Schwaighofer
2025-07-29 09:28:37 +09:00
parent 12af1c80dc
commit 2f08ecabbf
3 changed files with 16 additions and 2 deletions

2
uv.lock generated
View File

@@ -44,7 +44,7 @@ wheels = [
[[package]]
name = "corelibs"
version = "0.19.1"
version = "0.21.0"
source = { editable = "." }
dependencies = [
{ name = "jmespath" },