Refactor tm2jv to handle fractional seconds removing duplicated code (#3489)

This commit is contained in:
itchyny authored and GitHub committed 2026-03-01 06:18:14 +09:00
1 parent 750dbe723b
commit 601a37f452
2 files changed
+11 -11

No files matched your search

+4
View File
@@ -1834,6 +1834,10 @@ gmtime
1425599507
[2015,2,5,23,51,47,4,63]
gmtime[5]
1425599507.25
47.25
# test invalid tm input
try strftime("%Y-%m-%dT%H:%M:%SZ") catch .
["a",1,2,3,4,5,6,7]