Search the entire project
This project's trackers
This project's forums
This project's news
[#6465] print.xtable prints dates as numerics in data.frames
Sergiusz Bleja (
print.xtable prints dates as numerics in data.frames
I'm not sure whether this is a bug of a feature request, but a feature request feels more constructive :)
A minimal reproducible example:
a= data.frame(a = as.Date("2016-09-29"))
This will print 17073.00 rather than the date. A conversion using as.character is a work around but somewhat cumbersome.
Can xtable be changed to print the above as a date rather than numeric? Can I help making this happen?
Date: 2017-01-20 17:46
I've cloned the read only version github and added this change:
If you want to apply the patch it's here:
A suggestion would be to migrate this project to github which enable collaboration more. Let me know if you would like some help with this.
No Changes Have Been Made to This Item