delorean
delorean copied to clipboard
Delorean: Time Travel Made Easy
There are small typos in: - delorean/dates.py - delorean/interface.py - docs/install.rst - docs/quickstart.rst Fixes: - Should read `specifically` rather than `specifcally`. - Should read `posed` rather than `possed`. - Should...
@myusuf3 Any chance of publishing a new version of Delorean to pip that includes the fix provided here: https://github.com/myusuf3/delorean/pull/103 Cheers
Environment: - Python 3.9.2 - pytz 2021.3 When using `delorean.parse()` this warning message is produced: ``` delorean/dates.py:170: PytzUsageWarning: The normalize method is no longer necessary, as this time zone supports...
mock is not strictly required, unittest.mock would do at least as fallback. Please consider.
I'm running into an error when using Delorean within a Django app context. This only happens when the Django app is loaded. For example, in the interpreter setup by django:...
example shows: ``` >>> parse("2013-05-06") Delorean(datetime=datetime.datetime(2013, 5, 6), timezone='UTC') ``` executing the example, I get: ``` >>> parse("2013-05-06") Delorean(datetime=datetime.datetime(2013, 6, 5, 0, 0), timezone='UTC') ``` Documentation shows dayfirst=True as default,...
Hi, I'm from Turkey, then I'm starting to translate your PDF to Turkish. So, I want to send translation when I finished this.
It seems that recently (3/27) there was a new version of python_dateutil released (2.5.2) that breaks parsing of strings. I'm able to work around this by pinning python_dateutil to 2.5.1....
Hi, Since `delorean.parse()` fills missing info from the string with the current date, it will fail if trying to parse a date with month if your current day is out...
It'd be interesting to see if we could subclass/contain `timedelta` into such a structure that we could pass in a count of business days, and if passed into an arithmetic...