parsedatetime icon indicating copy to clipboard operation
parsedatetime copied to clipboard

Bug: If *parse()* not found date returns now datetime

Open axsapronov opened this issue 8 years ago • 5 comments

subj,

For example: this code works only with Python 3. Python2 returns datetime.datetime.now()

        if sys.version_info >= (3, 0):
            target = datetime.datetime(2006, 9, 25, 23, 5).timetuple()
            self.assertExpectedResult(self.cal.parse('25 сентября 2006 23:05'), (target, 3))

axsapronov avatar Sep 21 '15 03:09 axsapronov