closeio / ciso8601

Fast ISO8601 date time parser for Python written in C
MIT License
565 stars 45 forks source link

Support for BC dates? #156

Open javiabellan opened 2 hours ago

javiabellan commented 2 hours ago

Are BC dates supported?

I try to

ciso8601.parse_datetime('-0399-01-01')
ciso8601.parse_datetime('0399-01-01 BC')

but those give me errors

movermeyer commented 2 hours ago

Python's Date times do not support BCE dates by default.

https://docs.python.org/3/library/datetime.html

So probably not.