Comments (8)
Hi, waiting for this issue. Any news? Thanks @MaxDesiatov !
from corexlsx.
Hi @sourav13, thank you for reporting this. Would you be able to attach this file here or to send it to [email protected] if you can't share the file publicly? This way it would be significantly easier to reproduce and fix the issue.
from corexlsx.
from corexlsx.
Hello @MaxDesiatov So have you tested it with above file?
from corexlsx.
Hi @sourav13, these dates are stored in a special "OLE Automation Date" format:
An OLE Automation date is implemented as a floating-point number whose integral component is the number of days before or after midnight, 30 December 1899, and whose fractional component represents the time on that day divided by 24. For example, midnight, 31 December 1899 is represented by 1.0; 6 A.M., 1 January 1900 is represented by 2.25; midnight, 29 December 1899 is represented by -1.0; and 6 A.M., 29 December 1899 is represented by -1.25.
For now you can parse these dates by converting the string to a Double
or Decimal
value and then converting it to a date using an algorithm described above. CoreXLSX will be able to convert those dates for you automatically in a future version and I'll keep this issue open until then.
from corexlsx.
@MaxDesiatov I tried parsing them as strings, If they would have been parsable as strings I would have tried converting them to the desired format but I can't read them as Strings from sharedStrings Model.
from corexlsx.
These cells don't have type "s"
which would indicate their value is stored in sharedStrings
, it can be accessed directly from the value
property instead.
from corexlsx.
I apologize for the delay. There's a new dateValue
property added on the Cell
type in #102, hope this resolves the issue.
from corexlsx.
Related Issues (20)
- Cannot initialize SchemaType from invalid String value http://customschemas.google.com/relationships/workbookmetadata HOT 2
- Cannot initialize SchemaType from invalid String value HOT 7
- Next Release? HOT 2
- Xcode 12.5 Compile Error HOT 1
- cell type is null HOT 1
- Get a dropdown list HOT 1
- Invalid default buffer size HOT 1
- Unable to parse excel with following code HOT 5
- XLSXFile fails to open .xlsx file located on iPad ("XLSX file at \(file_path) is corrupted or does not exist") HOT 5
- XLSX File is not Read from documentPicker HOT 8
- Support macOS APP development? HOT 2
- Distinguish date and number HOT 4
- File can not parsed HOT 2
- Excel Parser Truncates Leading 0's and Maybe Trailing 0's HOT 2
- Cell Formulas
- Not working when using FILTER function HOT 3
- Get named Area of a sheet
- SharedStrings doesn't include/process the XML tags <b/> <I/> <u/> and <strike/> contained in rich text elements <rPr>. HOT 1
- High CPU usage and slow loading speeds when parsing large xlsx files
- Latest version 0.14.2 is not available at Cocoapods HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from corexlsx.