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

Formatting for quarters #255

Open
NorfairKing opened this issue Apr 30, 2024 · 1 comment
Open

Formatting for quarters #255

NorfairKing opened this issue Apr 30, 2024 · 1 comment
Milestone

Comments

@NorfairKing
Copy link

There is now https://hackage.haskell.org/package/time-1.14/docs/Data-Time-Calendar-Quarter.html (yay!) but I don't see a way to do this:

> formatTime defaultTimeLocale "%Y-Q%Quarter" (fromGregorian 2024-04-30)
2024-Q2
@AshleyYakeley
Copy link
Member

I think all the single letters are taken, so probably use %EQ or %Eq for this.

@AshleyYakeley AshleyYakeley added this to the Next milestone Apr 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants