Closed dbaynard closed 7 years ago
Hello,
It would be helpful to parse to TimeZone rather than just to UTCTime.
TimeZone
UTCTime
If you're interested, I'll send a PR. But as the library is quite small, I figure you may wish to specify the interface.
I'm thinking, a function (similar to utcFormat) timeZoneFormat :: String -> QuasiQuoter and a function
utcFormat
timeZoneFormat :: String -> QuasiQuoter
timeZone :: QuasiQuoter timeZone = utcFormat "%Z"
Tests might involve, say
show [timeZone| BST |] `shouldBe` "BST"
Hello,
It would be helpful to parse to
TimeZone
rather than just toUTCTime
.If you're interested, I'll send a PR. But as the library is quite small, I figure you may wish to specify the interface.
I'm thinking, a function (similar to
utcFormat
)timeZoneFormat :: String -> QuasiQuoter
and a functionTests might involve, say