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

Feature request: year.quarter option for date_style in fmt_date() #1052

Closed
2 tasks done
eroten opened this issue Sep 9, 2022 · 1 comment · Fixed by #1053
Closed
2 tasks done

Feature request: year.quarter option for date_style in fmt_date() #1052

eroten opened this issue Sep 9, 2022 · 1 comment · Fixed by #1053

Comments

@eroten
Copy link

eroten commented Sep 9, 2022

Prework

Proposal

Similar to #1028, I would appreciate a date formatting option for year and quarter, like lubridate::quarter().

library(lubridate, warn.conflicts = F)

quarter(today(), type = "year.quarter")
#> [1] 2022.3

Created on 2022-09-09 with reprex v2.0.2

"y_q" : "2022.3"

@rich-iannone
Copy link
Member

Perfect timing! Adding new date/time/datetime features in #1053 and I will sneak this feature request in there!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment