This repository was archived by the owner on Mar 31, 2026. It is now read-only.
Commit b76f0f1
committed
fix: correct TIMESTAMP formatting for snippets after migrating to aware datetimes
The switch to timezone-aware datetimes caused .isoformat() to include the
+00:00 offset. Appending 'Z' manually resulted in an invalid string
(...+00:00Z). Switched to .strftime() to produce the correct RFC 3339
format expected by Spanner.1 parent 868d18d commit b76f0f1
2 files changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1321 | 1321 | | |
1322 | 1322 | | |
1323 | 1323 | | |
1324 | | - | |
| 1324 | + | |
1325 | 1325 | | |
1326 | 1326 | | |
1327 | 1327 | | |
1328 | 1328 | | |
1329 | 1329 | | |
1330 | | - | |
| 1330 | + | |
1331 | 1331 | | |
1332 | 1332 | | |
1333 | 1333 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2401 | 2401 | | |
2402 | 2402 | | |
2403 | 2403 | | |
2404 | | - | |
| 2404 | + | |
2405 | 2405 | | |
2406 | 2406 | | |
2407 | 2407 | | |
2408 | 2408 | | |
2409 | 2409 | | |
2410 | | - | |
| 2410 | + | |
2411 | 2411 | | |
2412 | 2412 | | |
2413 | 2413 | | |
| |||
0 commit comments