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

it would be nice to have date_breaks('0.2 sec') #85

Closed
randomgambit opened this Issue May 4, 2017 · 0 comments

Comments

Projects
None yet
2 participants
@randomgambit

randomgambit commented May 4, 2017

Hi guys,

coming from tidyverse/ggplot2#2120 (comment)

It would be nice if one could define date_breaks with units smaller than 1 second. say 0.5 seconds or the like. Right now, I am doing that manually with

minor_breaks = seq(from = ymd_hms('2000-01-01 08:29:58'), to = ymd_hms('2000-01-01 08:30:10'), by = 0.5)

but this is a pain... What do you think?

Thanks!

@karawoo karawoo added the feature label Jun 14, 2017

dpseidel added a commit to dpseidel/scales that referenced this issue Jul 24, 2018

dpseidel added a commit that referenced this issue Jul 25, 2018

Allow subsecond intervals with date_breaks() (#160)
* Add subsecond interval support to date_breaks() and full_seq()

Closes #85 

* Fix tz mismatch for sec and min intervals. Fix tests.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment