Skip to content
New issue

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

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

Already on GitHub? # to your account

pretty_dates fails for some inputs #248

Closed
Beband opened this issue Jul 11, 2014 · 0 comments
Closed

pretty_dates fails for some inputs #248

Beband opened this issue Jul 11, 2014 · 0 comments
Labels
bug an unexpected problem or unintended behavior

Comments

@Beband
Copy link

Beband commented Jul 11, 2014

For some inputs, pretty_dates fails:

library(lubridate)

datetimes <- structure(c(1391640346, 1393856900), class = c("POSIXct", "POSIXt"), tzone = "GMT")
pretty_dates(datetimes, 10)

This seems to be a separate issue from #227.

Here's a Stackexchange question with a good analysis of why this happens:
http://stackoverflow.com/questions/24665770/r-lubridate-pretty-dates-fails-for-some-input-data

@vspinu vspinu added the bug an unexpected problem or unintended behavior label Dec 14, 2014
@vspinu vspinu closed this as completed in 7eb54a0 Oct 1, 2015
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug an unexpected problem or unintended behavior
Projects
None yet
Development

No branches or pull requests

2 participants