summaryrefslogtreecommitdiff
path: root/src/compiler
diff options
context:
space:
mode:
authorHerbert Lange <herbert.lange@gu.se>2025-08-08 18:02:59 +0200
committerHerbert Lange <herbert.lange@gu.se>2025-08-08 18:02:59 +0200
commit78beac759862d330a89a5479c5dab84e5d8cd526 (patch)
treeb81bcfaf504d76b08d431f1147473c182e3899c3 /src/compiler
parentf96830f7def621efdfe00278bf0024693a3e75cc (diff)
change date/time formating
Diffstat (limited to 'src/compiler')
-rw-r--r--src/compiler/GF/Infra/BuildInfo.hs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/compiler/GF/Infra/BuildInfo.hs b/src/compiler/GF/Infra/BuildInfo.hs
index 0e0103f3d..13c101ec5 100644
--- a/src/compiler/GF/Infra/BuildInfo.hs
+++ b/src/compiler/GF/Infra/BuildInfo.hs
@@ -9,7 +9,6 @@ import Language.Haskell.TH.Syntax
import Control.Monad.IO.Class
import Control.Exception
import Data.Time
-import Data.Time.Format.ISO8601
import System.Process
-- Use Template Haskell to get compile time
@@ -17,7 +16,7 @@ buildTime :: String
buildTime = $(do
timeZone <- liftIO getCurrentTimeZone
time <- liftIO $ utcToLocalTime timeZone <$> getCurrentTime
- return $ LitE $ StringL $ iso8601Show time )
+ return $ LitE $ StringL $ formatTime defaultTimeLocale "%F %T" time )
-- Use Template Haskell to get current Git information
gitInfo :: String