Open rlskoeser opened 1 year ago
For my ISMI data I do need to keep the information which calendar the date was entered in (see #17)
I am not sure if we need to save the date in the original calendar as long as it can be converted back from the Gregorian datetime. In my sample the Hijri dates are converted losslessly to Gregorian and back but the converted date notes that the Gregorian date may be off by up to 2 days (which doesn't matter if you just use the Hijri).
preliminary support for calendar conversion:
convertdate
package; propose working with Hijri calendar as first case since it's used on two of our projectsproposed implementation:
Undate
object and adds logic to convert between calendars and store the original calendar type and date (maybe also need interval variant?)notes & questions