CentreForDigitalHumanities / lettercraft

Lettercraft & Epistolary Performance in Medieval Europe
BSD 3-Clause "New" or "Revised" License
1 stars 0 forks source link

outfactor `DateField` class #18

Closed lukavdplas closed 8 months ago

lukavdplas commented 8 months ago

The LetterEventDate contains the basic data format for entering dates and includes a relation to letter actions.

We'll need to enter dates in other contexts, so it will be handy a DateField class in the core app that defines the format, global date range. We could also add some utility methods to the class to aggregate or display dates. Fields like LetterEventDate can inherit this class.