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

Parsed TIMEVALUE cell showing one second too early #115

Open
jfburdet opened this issue Jan 26, 2023 · 0 comments
Open

Parsed TIMEVALUE cell showing one second too early #115

jfburdet opened this issue Jan 26, 2023 · 0 comments

Comments

@jfburdet
Copy link

jfburdet commented Jan 26, 2023

Hi,

Using xlsir on sample attached xlsx file, timevalue are parsed but showing one second too early :

iex(1)> Mix.install([
...(1)>   {:xlsxir, github: "jsonkenl/xlsxir"}
...(1)> ])
* Getting xlsxir (https://github.com/jsonkenl/xlsxir.git)
remote: Enumerating objects: 2261, done.        
[...]
iex(2)> {:ok, table_id} = Xlsxir.multi_extract("/home/jfburdet/Downloads/time_issue.xlsx", 0)
{:ok, #Reference<0.4013215777.4275175433.253817>}
iex(3)> table_id |> Xlsxir.get_map()
%{"A1" => "This should read 9h30mn00sec", "A2" => {9, 29, 59}}

Opening the file in excel shows correct time (9h30mn00s) ...

Did I miss something or is it an actual bug ?

time_issue.xlsx

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