5
5
** undate** is a python library for working with uncertain or partially known dates.
6
6
7
7
> [ !WARNING]
8
- > This is pre- alpha software and is ** NOT ** feature complete! Use with caution.
9
- > Currently it only supports parsing and formatting dates in ISO8601 format and
10
- > some portions of EDTF (Extended Date Time Format).
8
+ > This is alpha software and is not yet feature complete! Use with caution and give us feedback .
9
+ > Currently ` undate ` supports parsing and formatting dates in ISO8601, some
10
+ portions of EDTF (Extended Date Time Format), and parsing and conversion for dates in Hebrew Anno Mundi and Islamic Hijri calendars
11
11
12
12
* Undate was initially created as part of a [ DH-Tech] ( https://dh-tech.github.io/ ) hackathon in November 2022.*
13
13
14
- ---
14
+ * * *
15
15
16
16
[ ![ DOI] ( https://zenodo.org/badge/DOI/10.5281/zenodo.11068867.svg )] ( https://doi.org/10.5281/zenodo.11068867 )
17
17
[ ![ License] ( https://img.shields.io/badge/License-Apache_2.0-blue.svg )] ( https://opensource.org/licenses/Apache-2.0 )
@@ -167,9 +167,9 @@ Dates are stored with the year, month, day and appropriate precision for the ori
167
167
>> > tammuz4816 = Undate.parse(" 26 Tammuz 4816" , " Hebrew" )
168
168
>> > tammuz4816
169
169
< Undate ' 26 Tammuz 4816 Anno Mundi' 4816 - 04 - 26 (Hebrew)>
170
- >> > rajab495 = Undate.parse(" Rajab 495" , " Hijri " )
170
+ >> > rajab495 = Undate.parse(" Rajab 495" , " Islamic " )
171
171
>> > rajab495
172
- < Undate ' Rajab 495 Hijrī' 0495 - 07 (Hijri )>
172
+ < Undate ' Rajab 495 Hijrī' 0495 - 07 (Islamic )>
173
173
>> > y2k = Undate.parse(" 2001" , " EDTF" )
174
174
>> > y2k
175
175
< Undate 2001 (Gregorian)>
@@ -178,12 +178,12 @@ Dates are stored with the year, month, day and appropriate precision for the ori
178
178
>> > [str (d.precision) for d in [rajab495, tammuz4816, y2k]]
179
179
[' MONTH' , ' DAY' , ' YEAR' ]
180
180
>> > sorted ([rajab495, tammuz4816, y2k])
181
- [< Undate ' 26 Tammuz 4816 Anno Mundi' 4816 - 04 - 26 (Hebrew)> , < Undate ' Rajab 495 Hijrī' 0495 - 07 (Hijri )> , < Undate 2001 (Gregorian)> ]
181
+ [< Undate ' 26 Tammuz 4816 Anno Mundi' 4816 - 04 - 26 (Hebrew)> , < Undate ' Rajab 495 Hijrī' 0495 - 07 (Islamic )> , < Undate 2001 (Gregorian)> ]
182
182
```
183
183
184
184
* * *
185
185
186
- For more examples, refer to the [example notebooks](https:// github.com/ dh- tech/ undate- python/ tree/ main/ examples/ notebooks / ) included in this repository.
186
+ For more examples, refer to the code notebooks included in the [examples ](https:// github.com/ dh- tech/ undate- python/ tree/ main/ examples/ ) in this repository.
187
187
188
188
# # Documentation
189
189
0 commit comments