Commit 68f0b36
committed
Handle UA markers to the left of the year segment
- include `year_ua_b` in the set of attributes to check when determining whether a date is uncertain, approximate, or both
- if there is no month, omit it from the stringification; this corrects a bug where `~1945` would turn into `~1945-None` after parsing and stringification1 parent f00f7a9 commit 68f0b36
1 file changed
Lines changed: 11 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
858 | 858 | | |
859 | 859 | | |
860 | 860 | | |
| 861 | + | |
861 | 862 | | |
862 | 863 | | |
863 | 864 | | |
| |||
886 | 887 | | |
887 | 888 | | |
888 | 889 | | |
889 | | - | |
| 890 | + | |
| 891 | + | |
| 892 | + | |
| 893 | + | |
890 | 894 | | |
891 | 895 | | |
892 | 896 | | |
| |||
902 | 906 | | |
903 | 907 | | |
904 | 908 | | |
905 | | - | |
| 909 | + | |
| 910 | + | |
| 911 | + | |
| 912 | + | |
| 913 | + | |
| 914 | + | |
906 | 915 | | |
907 | 916 | | |
908 | 917 | | |
| |||
0 commit comments