You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -47,7 +47,7 @@ Often humanities and cultural data include imprecise or uncertain temporal infor
47
47
An `undate.Undate` is analogous to python’s builtin `datetime.date` object, but with support for varying degrees of precision and unknown information. You can initialize an undate with either strings or numbers for whichever parts of the date are known or partially known. An `Undate` can take an optional label.
48
48
49
49
```python
50
-
from undate.undateimport Undate
50
+
from undate import Undate
51
51
52
52
november7 = Undate(2000, 11, 7)
53
53
november = Undate(2000, 11)
@@ -135,13 +135,13 @@ NotImplementedError: Can't compare when one date falls within the other
135
135
136
136
An `UndateInterval`is a date range between two `Undate` objects. Intervals can be open-ended, allow for optional labels, and can calculate duration if enough information is known
0 commit comments