Commit 2d2f4a2
fix: handle 7-digit fractional seconds in _parse_iso for Python 3.10
Python 3.10's fromisoformat only supports up to 6 fractional digits
(microseconds). Teams sends 7-digit timestamps (e.g., .4513813).
Truncate extra digits before parsing.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent e425260 commit 2d2f4a2
1 file changed
Lines changed: 10 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
28 | 30 | | |
29 | | - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
30 | 38 | | |
31 | 39 | | |
32 | 40 | | |
| |||
0 commit comments