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

Fixing datetime convert code #117

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Conversation

jfburdet
Copy link

@jfburdet jfburdet commented Mar 1, 2023

This will fix issue #115

It seems that one of the test case was actually false ... please try to open missing_styles.xlsx in excel and see that it actually shows '2h39m12s' and not '2h39m11s'

I also made some cleanup (removing empty config.exs file and doing mix formating)

Opening ./test/test_data/missing_styles.xlsx in libre office and
office365 shows '21.06.2019 02:39:12'

So testing against 02:39:11 was a mistake.

(now tests are broken)
This is the use case that made me discover the bug that
will be fixed in next commit.

0.395833333333333 should be interpreted as 9h30mn0s
but actual code interprets it as 9h29mn59s
This commit has no functional changes, only applying
now standard 'mix format' command
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

Successfully merging this pull request may close these issues.

None yet

1 participant