diff --git a/hls-graph.cabal b/hls-graph.cabal
--- a/hls-graph.cabal
+++ b/hls-graph.cabal
@@ -1,6 +1,6 @@
 cabal-version: 2.4
 name:          hls-graph
-version:       2.0.0.1
+version:       2.1.0.0
 synopsis:      Haskell Language Server internal graph API
 description:
   Please see the README on GitHub at <https://github.com/haskell/haskell-language-server/tree/master/hls-graph#readme>
diff --git a/src/Development/IDE/Graph/Internal/Profile.hs b/src/Development/IDE/Graph/Internal/Profile.hs
--- a/src/Development/IDE/Graph/Internal/Profile.hs
+++ b/src/Development/IDE/Graph/Internal/Profile.hs
@@ -19,10 +19,8 @@
                                                           sortBy)
 import           Data.List.Extra                         (nubOrd)
 import           Data.Maybe
-import           Data.Time                               (defaultTimeLocale,
-                                                          formatTime,
-                                                          getCurrentTime,
-                                                          iso8601DateFormat)
+import           Data.Time                               (getCurrentTime)
+import           Data.Time.Format.ISO8601                (iso8601Show)
 import           Development.IDE.Graph.Classes
 import           Development.IDE.Graph.Internal.Database (getDirtySet)
 import           Development.IDE.Graph.Internal.Paths
@@ -207,7 +205,7 @@
             time <- getCurrentTime
             pure $ LBS.pack $
                 "var version = \"0\"" ++
-                "\nvar generated = " ++ show (formatTime defaultTimeLocale (iso8601DateFormat (Just "%H:%M:%S")) time)
+                "\nvar generated = " ++ iso8601Show time
         asker x = ask x
 
 -- Perform a mapM on each line and put the result back together again
