Skip to content

Commit

Permalink
s 14,15 are not dates
Browse files Browse the repository at this point in the history
  • Loading branch information
e-oz committed Jun 29, 2018
1 parent 85950a1 commit f61c042
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "xlsx_reader"
version = "1.1.1"
version = "1.1.2"
authors = ["OZ <normandiggs@gmail.com>"]
description = "Reader of XLSX files (only data)"
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion src/reader.rs
Expand Up @@ -147,7 +147,7 @@ pub fn get_parsed_xlsx(strings_map: HashMap<usize, String>, sheet_content: Strin
tr.insert(i, val);
found = true;
} else {
if cell.attributes.contains_key("s") && (cell.attributes["s"][0] == "10" || cell.attributes["s"][0] == "14" || cell.attributes["s"][0] == "15") {
if cell.attributes.contains_key("s") && (cell.attributes["s"][0] == "10") {
tr.insert(i, excel_date(&cell.attributes["v"][0], Some(1462.0)));
found = true;
} else {
Expand Down

0 comments on commit f61c042

Please sign in to comment.