Addresses issue #53. The issue has a full doctest-style explanation of how it works.
I added a naivemode arg to delorean.parse to provide some options. I'm not sure if this is how you want to go, but it definitely solves my initial problem.
The default value for the param has been set so that existing code runs exactly the same as before. Behaviour only changes if/when you want it to. Also, returning a naive datetime (in the case of naivemode=='naive' is consistent with what Delorean.naive() does.
Addresses issue #53. The issue has a full doctest-style explanation of how it works.
I added a
naivemode
arg todelorean.parse
to provide some options. I'm not sure if this is how you want to go, but it definitely solves my initial problem.The default value for the param has been set so that existing code runs exactly the same as before. Behaviour only changes if/when you want it to. Also, returning a naive datetime (in the case of
naivemode=='naive'
is consistent with whatDelorean.naive()
does.