time icon indicating copy to clipboard operation
time copied to clipboard

Formatting for quarters

Open NorfairKing opened this issue 9 months ago • 1 comments

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

NorfairKing avatar Apr 30 '24 08:04 NorfairKing

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

AshleyYakeley avatar Apr 30 '24 20:04 AshleyYakeley