Commit 2b3613f
Andrew Brookins
Fix datetime parsing for Unix timestamp strings in vectorstore_adapter
The parse_datetime function was failing when receiving Unix timestamps
as strings (e.g., '1765388915.12') because it tried to parse them as
ISO format strings. This fix tries to parse string values as floats
first before falling back to ISO format parsing.1 parent 6907645 commit 2b3613f
1 file changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
403 | 403 | | |
404 | 404 | | |
405 | 405 | | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
406 | 412 | | |
407 | 413 | | |
408 | 414 | | |
| |||
0 commit comments