We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi, I was wondering if it was possible not to print seconds if there are many columns (i.e. adaptative printing) in tibbles.
I use a custom version of pillar_shaft for dttm, but it never prints seconds.
pillar_shaft.POSIXct <- function(x, ...) { width <- 17L date <- format(x, format = "%Y-%m-%d") time <- format(x, format = "%H:%M") datetime <- paste0(date, " ", pillar::style_subtle(time)) datetime[is.na(x)] <- NA pillar::new_pillar_shaft_simple(datetime, width = width, align = "left") }
I was wondering if it would be possible to add this option to
pillar/R/shaft-.R
Line 270 in 92095fc
The text was updated successfully, but these errors were encountered:
Thanks. This looks useful, happy to review a PR.
Sorry, something went wrong.
No branches or pull requests
Hi,
I was wondering if it was possible not to print seconds if there are many columns (i.e. adaptative printing) in tibbles.
I use a custom version of pillar_shaft for dttm, but it never prints seconds.
I was wondering if it would be possible to add this option to
pillar/R/shaft-.R
Line 270 in 92095fc
The text was updated successfully, but these errors were encountered: