Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No way tell the difference between datetime(0,0) and 0.0 #1

Open
chfw opened this issue Aug 3, 2018 · 0 comments
Open

No way tell the difference between datetime(0,0) and 0.0 #1

chfw opened this issue Aug 3, 2018 · 0 comments

Comments

@chfw
Copy link
Member

chfw commented Aug 3, 2018

AssertionError: OrderedDict([('Sheet1', [['Date', 'Time'], [41998.0, 0.466099537037037], [41999.0, 0.508472222222222], [42005.0, 0.550844907407407], [0.0, 0.0]]), ('Sheet2', []), ('Sheet3', [])]) != OrderedDict([('Sheet1', [['Date', 'Time'], [datetime.datetime(2014, 12, 25, 0, 0), datetime.time(11, 11, 11)], [datetime.datetime(2014, 12, 26, 0, 0), datetime.time(12, 12, 12)], [datetime.datetime(2015, 1, 1, 0, 0), datetime.time(13, 13, 13)], [datetime.datetime(1899, 12, 30, 0, 0), datetime.time(0, 0)]]), ('Sheet2', []), ('Sheet3', [])])

https://travis-ci.org/pyexcel/pyexcel-xlsbr/jobs/411825607

A difference flag is required to say this cell is date, time field, instead of a number or float. Hence the issue was raised here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant