Commit ab67947
test: add tests for encode_value(date, ISO8601) explicit type path
The explicit-type path (value_type=ValueType.ISO8601 with datetime.date)
uses value.isoformat() rather than _format_datetime_iso8601. These tests
pin the behavior, including the type asymmetry where date encodes but
decodes back as datetime, and a pre-epoch edge case.
Closes #114
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent ffe2c57 commit ab67947
1 file changed
Lines changed: 26 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
353 | 353 | | |
354 | 354 | | |
355 | 355 | | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
356 | 382 | | |
357 | 383 | | |
358 | 384 | | |
| |||
0 commit comments