Skip to content

Commit

Permalink
Update span characters for zh_TW
Browse files Browse the repository at this point in the history
Add span characters so that the new display format is accepted as
a valid input format.  This is necessary to make the unit tests
pass.
  • Loading branch information
Nick-Hall committed Jul 8, 2024
1 parent e1634f8 commit 224f3c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gramps/gen/datehandler/_date_zh_TW.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,8 @@ def init_strings(self):
This method compiles regular expression strings for matching dates.
"""
DateParser.init_strings(self)
_span_1 = ["自"]
_span_2 = ["至"]
_span_1 = ["自", "從"]
_span_2 = ["至", "到"]
_range_1 = ["介於"]
_range_2 = ["與"]
_range_3 = ["之間"]
Expand Down

0 comments on commit 224f3c0

Please sign in to comment.