Skip to content

Commit

Permalink
openpyxl update + number_format xml date format
Browse files Browse the repository at this point in the history
  • Loading branch information
SheetJSDev committed May 22, 2014
1 parent f7c637f commit 43c63e3
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -68,7 +68,7 @@ excel-reader-xlsx:
.PHONY: openpyxl
openpyxl:
if [ ! -e openpyxl ]; then hg clone https://bitbucket.org/ericgazoni/openpyxl; fi
cd openpyxl; hg pull || echo foo
cd openpyxl; hg pull && hg update || echo foo
cd openpyxl/openpyxl/tests/test_data/genuine; for i in *.xls*; do cp $$i ../../../../../openpyxl_g_$$i; done
cd openpyxl/openpyxl/tests/test_data/reader; for i in *.xls*; do cp $$i ../../../../../openpyxl_r_$$i; done

Expand Down
4 changes: 2 additions & 2 deletions number_format.xls.xml
Expand Up @@ -520,7 +520,7 @@
<Row>
<Cell><Data ss:Type="Number">14</Data></Cell>
<Cell ss:StyleID="s74"><Data ss:Type="DateTime">1933-10-18T16:17:36.960</Data></Cell>
<Cell ss:Formula="=NumFmt(RC[-1])"><Data ss:Type="String">m/d/yyyy</Data></Cell>
<Cell ss:Formula="=NumFmt(RC[-1])"><Data ss:Type="String">m/d/yy</Data></Cell>
<Cell ss:Formula="=Dofmt(RC[-2],RC[1])"><Data ss:Type="String">10/18/33</Data></Cell>
<Cell><Data ss:Type="String" x:Ticked="1">m/d/yy</Data></Cell>
<Cell ss:StyleID="s74" ss:Formula="=RC[-4]"><Data ss:Type="DateTime">1933-10-18T16:17:36.960</Data></Cell>
Expand Down Expand Up @@ -775,7 +775,7 @@
<Row>
<Cell><Data ss:Type="Number">14</Data></Cell>
<Cell ss:StyleID="s74"><Data ss:Type="DateTime">1866-03-13T07:42:23.040</Data></Cell>
<Cell ss:Formula="=NumFmt(RC[-1])"><Data ss:Type="String">m/d/yyyy</Data></Cell>
<Cell ss:Formula="=NumFmt(RC[-1])"><Data ss:Type="String">m/d/yy</Data></Cell>
<Cell ss:Formula="=Dofmt(RC[-2],RC[1])"><Data ss:Type="String">3/13/66</Data></Cell>
<Cell><Data ss:Type="String" x:Ticked="1">m/d/yy</Data></Cell>
<Cell ss:Formula="=RC[-1]=RC[-3]"><Data ss:Type="Boolean">0</Data></Cell>
Expand Down
4 changes: 2 additions & 2 deletions number_format.xlsb.xml
Expand Up @@ -409,7 +409,7 @@
<Row>
<Cell><Data ss:Type="Number">14</Data></Cell>
<Cell ss:StyleID="s54"><Data ss:Type="DateTime">1933-10-18T16:17:36.960</Data></Cell>
<Cell ss:Formula="=NumFmt(RC[-1])"><Data ss:Type="String">m/d/yyyy</Data></Cell>
<Cell ss:Formula="=NumFmt(RC[-1])"><Data ss:Type="String">m/d/yy</Data></Cell>
<Cell ss:Formula="=Dofmt(RC[-2],RC[1])"><Data ss:Type="String">10/18/33</Data></Cell>
<Cell><Data ss:Type="String" x:Ticked="1">m/d/yy</Data></Cell>
<Cell ss:StyleID="s54" ss:Formula="=RC[-4]"><Data ss:Type="DateTime">1933-10-18T16:17:36.960</Data></Cell>
Expand Down Expand Up @@ -662,7 +662,7 @@
<Row>
<Cell><Data ss:Type="Number">14</Data></Cell>
<Cell ss:StyleID="s54"><Data ss:Type="DateTime">1866-03-13T07:42:23.040</Data></Cell>
<Cell ss:Formula="=NumFmt(RC[-1])"><Data ss:Type="String">m/d/yyyy</Data></Cell>
<Cell ss:Formula="=NumFmt(RC[-1])"><Data ss:Type="String">m/d/yy</Data></Cell>
<Cell ss:Formula="=Dofmt(RC[-2],RC[1])"><Data ss:Type="String">3/13/66</Data></Cell>
<Cell><Data ss:Type="String" x:Ticked="1">m/d/yy</Data></Cell>
<Cell ss:Formula="=RC[-1]=RC[-3]"><Data ss:Type="Boolean">0</Data></Cell>
Expand Down
4 changes: 2 additions & 2 deletions number_format.xlsm.xml
Expand Up @@ -409,7 +409,7 @@
<Row>
<Cell><Data ss:Type="Number">14</Data></Cell>
<Cell ss:StyleID="s54"><Data ss:Type="DateTime">1933-10-18T16:17:36.960</Data></Cell>
<Cell ss:Formula="=NumFmt(RC[-1])"><Data ss:Type="String">m/d/yyyy</Data></Cell>
<Cell ss:Formula="=NumFmt(RC[-1])"><Data ss:Type="String">m/d/yy</Data></Cell>
<Cell ss:Formula="=Dofmt(RC[-2],RC[1])"><Data ss:Type="String">10/18/33</Data></Cell>
<Cell><Data ss:Type="String" x:Ticked="1">m/d/yy</Data></Cell>
<Cell ss:StyleID="s54" ss:Formula="=RC[-4]"><Data ss:Type="DateTime">1933-10-18T16:17:36.960</Data></Cell>
Expand Down Expand Up @@ -662,7 +662,7 @@
<Row>
<Cell><Data ss:Type="Number">14</Data></Cell>
<Cell ss:StyleID="s54"><Data ss:Type="DateTime">1866-03-13T07:42:23.040</Data></Cell>
<Cell ss:Formula="=NumFmt(RC[-1])"><Data ss:Type="String">m/d/yyyy</Data></Cell>
<Cell ss:Formula="=NumFmt(RC[-1])"><Data ss:Type="String">m/d/yy</Data></Cell>
<Cell ss:Formula="=Dofmt(RC[-2],RC[1])"><Data ss:Type="String">3/13/66</Data></Cell>
<Cell><Data ss:Type="String" x:Ticked="1">m/d/yy</Data></Cell>
<Cell ss:Formula="=RC[-1]=RC[-3]"><Data ss:Type="Boolean">0</Data></Cell>
Expand Down

0 comments on commit 43c63e3

Please sign in to comment.