Git Product home page Git Product logo

Comments (3)

cewi avatar cewi commented on July 24, 2024

Hi,
yes, I got your problem and am working on a solution. I've to change the code in the Helper. It has to check the type of data and then set explicitly the type of the cell in the sheet. The problem is that there is no explicit Cell-Type for Dates in PHP-Excel.
I'll have to do some more checks and tests and will probably publish a new release the next days.

from excel.

cewi avatar cewi commented on July 24, 2024

changed the way data is filled in cells:

  • if data ist of type string or date, cell type will be explicitly set to string (seems to be correct type for dates, too)
  • if data is numeric, numeric cell type will be used.

Please test and close the issue if you're ok with the solution

from excel.

KeidyU avatar KeidyU commented on July 24, 2024

Yes, exactly like that is working.
The problem is when a varchar has only number it put type numeric, when it is varchar.

The trick i did was just to concatenate a '\x20' to my field. Then is a string. :(

Anyway thanks for the help.

from excel.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.