Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rbind does not check if datetime classes are equal #705

Closed
ecoRoland opened this issue Jun 23, 2014 · 1 comment
Closed

rbind does not check if datetime classes are equal #705

ecoRoland opened this issue Jun 23, 2014 · 1 comment
Assignees
Labels
Milestone

Comments

@ecoRoland
Copy link

Example:

require(data.table)
DT1 <- data.table(date=as.POSIXct("2014-06-22", format="%Y-%m-%d", tz="GMT"))
DT2 <- data.table(date=as.Date("2014-06-23"))
rbind(DT1, DT2)
#'                               date
#'1: 2014-06-22 00:00:00
#'2: 1970-01-01 04:30:44
rbind(DT2, DT1)
#'                     date
#'1:       2014-06-23
#'2: 3844335-07-22
rbind.data.frame(DT2, DT1)
#'              date
#'1 2014-06-23
#'2 2014-06-22
@mattdowle mattdowle added this to the v1.9.4 milestone Jun 26, 2014
@mattdowle
Copy link
Member

Thanks. I reproduced in latest version and have assigned this to the v1.9.4 milestone.

@arunsrinivasan arunsrinivasan modified the milestones: 2.0.1, v2.0 Sep 6, 2014
@arunsrinivasan arunsrinivasan modified the milestones: v1.9.6, v1.9.8 Oct 10, 2014
@arunsrinivasan arunsrinivasan self-assigned this Mar 1, 2015
@arunsrinivasan arunsrinivasan modified the milestones: v1.9.6, v1.9.8 Mar 1, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants