<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to bugs</title><link>https://sourceforge.net/p/excel2mysql/bugs/</link><description>Recent changes to bugs</description><atom:link href="https://sourceforge.net/p/excel2mysql/bugs/feed.rss" rel="self"/><language>en</language><lastBuildDate>Thu, 11 Mar 2004 11:32:25 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/excel2mysql/bugs/feed.rss" rel="self" type="application/rss+xml"/><item><title>erroneous number recognition as type date</title><link>https://sourceforge.net/p/excel2mysql/bugs/1/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I just got the problem, some numbers in text formatted &lt;br /&gt;
cells are recognited as type date ( int(0x16) ) with &lt;br /&gt;
negative value.&lt;/p&gt;
&lt;p&gt;In the follow function createDate in reader.php fails &lt;br /&gt;
because of negative date values are not supported by &lt;br /&gt;
PHP.&lt;/p&gt;
&lt;p&gt;As a really bad workaround (I not really know what I do :&lt;br /&gt;
-/ ), I modified the following code (added 4 lines) in &lt;br /&gt;
function _parsesheet($spos):&lt;/p&gt;
&lt;p&gt;case Spreadsheet_Excel_Reader_Type_RK:&lt;br /&gt;
case Spreadsheet_Excel_Reader_Type_RK2:&lt;br /&gt;
$row = ord($this-&amp;gt;data[$spos]) | &lt;br /&gt;
ord($this-&amp;gt;data[$spos+1])&amp;lt;&amp;lt;8;&lt;br /&gt;
$column = ord($this-&amp;gt;data[$spos+2]) | &lt;br /&gt;
ord($this-&amp;gt;data[$spos+3])&amp;lt;&amp;lt;8;&lt;br /&gt;
$rknum = $this-&amp;gt;_GetInt4d($this-&amp;gt;data, $spos + 6);&lt;br /&gt;
$numValue = $this-&amp;gt;_GetIEEE754($rknum);&lt;br /&gt;
if ($this-&amp;gt;isDate($spos)) {&lt;br /&gt;
list($string, $raw) = $this-&amp;gt;createDate($numValue)&lt;br /&gt;
;&lt;br /&gt;
    // Meikelator workaround bugfix ... (he did'nt &lt;br /&gt;
know, what he did .. but it fixes&lt;br /&gt;
    // false date type recognition ...&lt;br /&gt;
    if ($raw &amp;lt; 0) { // if date value not supported ...&lt;br /&gt;
        $string = $numValue; &lt;br /&gt;
        unset($this-&amp;gt;rectype);&lt;br /&gt;
    }&lt;br /&gt;
    // end meikelator bugfix ...&lt;br /&gt;
}else{&lt;br /&gt;
$raw = $numValue;&lt;br /&gt;
$string = sprintf($this-&amp;gt;curformat, $numValue * &lt;br /&gt;
$this-&amp;gt;multiplier);&lt;br /&gt;
//$this-&amp;gt;addcell(RKRecord($r));&lt;br /&gt;
}&lt;br /&gt;
$this-&amp;gt;addcell($row, $column, $string, $raw);&lt;br /&gt;
//echo "Type_RK $row $column $string $raw &lt;br /&gt;
{$this-&amp;gt;curformat}\n";&lt;br /&gt;
break;&lt;/p&gt;
&lt;p&gt;---------------------&lt;/p&gt;
&lt;p&gt;it's crappy, but works ... any better idea?&lt;/p&gt;
&lt;p&gt;thx4all : deka&lt;/p&gt;
&lt;p&gt;(if you need more information about: let me know ...)&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Michael Pfannkuchen</dc:creator><pubDate>Thu, 11 Mar 2004 11:32:25 -0000</pubDate><guid>https://sourceforge.netb061165669f2eef8841185ce79ab1a35a4eb834d</guid></item></channel></rss>