mirror of https://github.com/voidlizard/hbs2
fixed checkpoint timestamp format
This commit is contained in:
parent
f4abd662f8
commit
69a827e266
|
@ -37,7 +37,7 @@ import System.Console.ANSI
|
|||
|
||||
formatTs :: Int -> String
|
||||
formatTs ts =
|
||||
formatTime defaultTimeLocale "%Y-%m-%d %H:%M:%S" (posixSecondsToUTCTime (fromIntegral ts))
|
||||
formatTime defaultTimeLocale "%Y-%m-%d %H:%M" (posixSecondsToUTCTime (fromIntegral ts))
|
||||
|
||||
{- HLINT ignore "Use isEOF" -}
|
||||
{- HLINT ignore "Use putStrLn" -}
|
||||
|
|
Loading…
Reference in New Issue