Commit 1a1684e
committed
readyset-data: Parse BC timestamp without timezone
`TimestampTz::from_str()` can parse AD years (year 1 and higher)
correctly for timestamp, timestamptz, and date. BC years are handled
separately, but only parse timestamptz and date. This CL adds
parsing of timestamps to BC years.
Fixes: REA-4273
Release-Note-Core: Allow BC timestamps without
a time zone.
Change-Id: I4515fbc96bb752d65e9e64b60fa7c48ec8764eda
Reviewed-on: https://gerrit.readyset.name/c/readyset/+/7155
Tested-by: Buildkite CI
Reviewed-by: Ethan Donowitz <ethan@readyset.io>1 parent c5e4a1a commit 1a1684e
1 file changed
+16
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
260 | 260 | | |
261 | 261 | | |
262 | 262 | | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
263 | 267 | | |
264 | 268 | | |
265 | 269 | | |
| |||
726 | 730 | | |
727 | 731 | | |
728 | 732 | | |
| 733 | + | |
729 | 734 | | |
730 | 735 | | |
731 | 736 | | |
| |||
736 | 741 | | |
737 | 742 | | |
738 | 743 | | |
| 744 | + | |
| 745 | + | |
| 746 | + | |
| 747 | + | |
| 748 | + | |
| 749 | + | |
| 750 | + | |
| 751 | + | |
| 752 | + | |
| 753 | + | |
| 754 | + | |
739 | 755 | | |
740 | 756 | | |
0 commit comments