Closed juhp closed 2 years ago
Confirmed again that it fails with time-1.8
src/Tasks.hs:243:34: error:
Error: • No instance for (FormatTime NominalDiffTime)
arising from a use of ‘formatTime’
• In the second argument of ‘(++)’, namely
‘formatTime defaultTimeLocale "%Hh %Mm %Ss" dur’
In the expression:
"current duration: "
++ formatTime defaultTimeLocale "%Hh %Mm %Ss" dur
In the expression:
["current duration: "
++ formatTime defaultTimeLocale "%Hh %Mm %Ss" dur |
Just start <- [mstart], let dur = diffUTCTime now start]
|
243 | ["current duration: " ++ formatTime defaultTimeLocale "%Hh %Mm %Ss" dur | Just start <- [mstart], let dur = diffUTCTime now start]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
test older time