Closed bitc closed 3 years ago
This library is great, but doesn't work when it encounters a UTCTime:
now <- liftIO getCurrentTime pPrint (now, now)
This is the result:
( 2021 - 03 - 16 18 : 04 : 08.725928 UTC , 2021 - 03 - 16 18 : 04 : 08.725928 UTC )
For reference, this is what Show for UTCTime looks like
Show
(2021-03-16 18:04:08.725928 UTC,2021-03-16 18:04:08.725928 UTC)
I think it would be a good idea to hardcode support for UTCTime into this library. Some type of regex could detect the string fragments that look like UTCTime, and keep them the way they are (and possibly color them in a distinct color)
Thank you
See #75.
TL;DR - we used to handle it better, and we can hopefully get back there without hardcoding anything.
Lets close this in favor of #75.
This library is great, but doesn't work when it encounters a UTCTime:
This is the result:
For reference, this is what
Show
for UTCTime looks likeI think it would be a good idea to hardcode support for UTCTime into this library. Some type of regex could detect the string fragments that look like UTCTime, and keep them the way they are (and possibly color them in a distinct color)
Thank you