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
what about Julian day as the date representation (integer) format - https://en.wikipedia.org/wiki/Julian_day It seems like it is robust enough for all kinds of dates in APIS (starts from January 1, 4713 BC)
The django-interval field is useful to store fuzzy dates as intervals but it currently does not support BCE dates (acdh-oeaw/django-interval#23 ) as Python datetime fields do not support negative year (Guido van Rossum's comments here: https://discuss.python.org/t/bc-date-support/582).
Lastly, it seems like python's calendar understands negative years - https://docs.python.org/3.12/library/calendar.html
The text was updated successfully, but these errors were encountered: