You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a column which has dates in Excel's internal format. The Excel file comes from someone's reporting software, so I can't just format the column in Excel (unless I want to do it every time I get an update).
I have a column which has dates in Excel's internal format.
So this isn't quite true. Generally, a date cell in xlsx will carry a date style, which these cells do not. They are just integers and it is a choice to interpret them as dates. But I suppose we can interpret numbers as dates, when explicitly directed to do so via col_types = "date".
* Add logical cell and col types; general refactor of cell typing and coercion
Rescues xls formula dates
* Make logicalFromString() to use in xls and xlsx
* Attempt to coerce text to number; fixes#217, fixes#106
* Work on NEWS.md
* Fiddle with comments and kick appveyor
* Edit Xls[x]WorkSheet.h side-by-side for parallelism
* Edit NEWS.md
* Coerce numeric to date in a "date" column; fixes#266
* Don't use C++11 when converting string to double
* Test all the warnings
* Enhance comments and refactor xls cell typing
* Consistently use strncmp(this, that, n) == 0
* Simplify logical cell creation in xls
* Fewer parens
* Add comment, collapse two cases
* Use Rf_StringTrue() and Rf_StringFalse()
* Beef up tests of logical coercion; delete old coercion test that adds nothing
* Frontload comments re: xls & xlsx cell types and make more parallel
lockbot
locked and limited conversation to collaborators
Oct 10, 2019
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
bugan unexpected problem or unintended behaviordatetime 📆
I have a column which has dates in Excel's internal format. The Excel file comes from someone's reporting software, so I can't just format the column in Excel (unless I want to do it every time I get an update).
date_test.xlsx
These should map to the first, second, and third of January 2008.
But if I tell
read_excel
that it's a date:The text was updated successfully, but these errors were encountered: