Skip to content

Commit f442724

Browse files
committed
Clean up additional mentions & typos flagged by coderabbitai
1 parent 1f873bc commit f442724

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ Currently available converters are "ISO8601" and "EDTF" and supported calendars.
158158

159159
### Calendars
160160

161-
All `Undate` objects are calendar aware, and date converters include support for parsing and working with dates from other calendars. The Gregorian calendar is used by default; currently `undate` supports the Islamic Hijri calendar and the Hebrew Anno Mundi calendar based on calendar conversion logic implemented in the [convertdate](https://convertdate.readthedocs.io/en/latest/)package.
161+
All `Undate` objects are calendar aware, and date converters include support for parsing and working with dates from other calendars. The Gregorian calendar is used by default; currently `undate` supports the Islamic Hijri calendar and the Hebrew Anno Mundi calendar based on calendar conversion logic implemented in the [convertdate](https://convertdate.readthedocs.io/en/latest/) package.
162162

163163
Dates are stored with the year, month, day and appropriate precision for the original calendar; internally, earliest and latest dates are calculated in Gregorian / Proleptic Gregorian calendar for standardized comparison across dates from different calendars.
164164

src/undate/converters/calendars/islamic/converter.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def parse(self, value: str) -> Union[Undate, UndateInterval]:
5353

5454
# parse the input string, then transform to undate object
5555
try:
56-
# parse the string with our Hijri date parser
56+
# parse the string with our Islamic Hijri date parser
5757
parsetree = islamic_parser.parse(value)
5858
# transform the parse tree into an undate or undate interval
5959
undate_obj = self.transformer.transform(parsetree)
@@ -64,4 +64,4 @@ def parse(self, value: str) -> Union[Undate, UndateInterval]:
6464
raise ValueError(f"Could not parse '{value}' as an Islamic date") from err
6565

6666
# do we need to support conversion the other direction?
67-
# i.e., generate a Hijri date from an abitrary undate or undate interval?
67+
# i.e., generate an Islamic Hijri date from an arbitrary undate or undate interval?

0 commit comments

Comments
 (0)