[commit: packages/time] format-widths, master, tasty: rename GetTime module to SystemTime (099e676)

git at git.haskell.org git at git.haskell.org
Mon Feb 20 21:19:56 UTC 2017


Repository : ssh://git@git.haskell.org/time

On branches: format-widths,master,tasty
Link       : http://git.haskell.org/packages/time.git/commitdiff/099e6763321bb8805b9c6ba28e8dbf0e375cb43e

>---------------------------------------------------------------

commit 099e6763321bb8805b9c6ba28e8dbf0e375cb43e
Author: Ashley Yakeley <ashley at yakeley.org>
Date:   Sat Dec 24 00:03:32 2016 -0800

    rename GetTime module to SystemTime


>---------------------------------------------------------------

099e6763321bb8805b9c6ba28e8dbf0e375cb43e
 lib/Data/Time/Clock.hs                                     | 2 +-
 lib/Data/Time/Clock/Internal/{GetTime.hs => SystemTime.hs} | 2 +-
 lib/Data/Time/Clock/POSIX.hs                               | 1 -
 lib/Data/Time/Clock/System.hs                              | 2 +-
 lib/Data/Time/Clock/TAI.hs                                 | 2 +-
 time.cabal                                                 | 2 +-
 6 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/lib/Data/Time/Clock.hs b/lib/Data/Time/Clock.hs
index e6ca9a7..af771f7 100644
--- a/lib/Data/Time/Clock.hs
+++ b/lib/Data/Time/Clock.hs
@@ -12,7 +12,7 @@ module Data.Time.Clock
 
 import Data.Time.Clock.Internal.UniversalTime
 import Data.Time.Clock.Internal.DiffTime
-import Data.Time.Clock.Internal.GetTime
+import Data.Time.Clock.Internal.SystemTime
 import Data.Time.Clock.Internal.UTCDiff
 import Data.Time.Clock.Internal.NominalDiffTime
 import Data.Time.Clock.Internal.UTCTime
diff --git a/lib/Data/Time/Clock/Internal/GetTime.hs b/lib/Data/Time/Clock/Internal/SystemTime.hs
similarity index 98%
rename from lib/Data/Time/Clock/Internal/GetTime.hs
rename to lib/Data/Time/Clock/Internal/SystemTime.hs
index 397759a..27d3d20 100644
--- a/lib/Data/Time/Clock/Internal/GetTime.hs
+++ b/lib/Data/Time/Clock/Internal/SystemTime.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE Trustworthy #-}
-module Data.Time.Clock.Internal.GetTime where
+module Data.Time.Clock.Internal.SystemTime where
 
 import Data.Int (Int64)
 import Data.Word
diff --git a/lib/Data/Time/Clock/POSIX.hs b/lib/Data/Time/Clock/POSIX.hs
index 3ca6642..d634605 100644
--- a/lib/Data/Time/Clock/POSIX.hs
+++ b/lib/Data/Time/Clock/POSIX.hs
@@ -6,7 +6,6 @@ module Data.Time.Clock.POSIX
     systemToPOSIXTime,
 ) where
 
-import Data.Time.Clock.Internal.GetTime
 import Data.Time.Clock.Internal.POSIXTime
 import Data.Time.Clock.Internal.UTCTime
 import Data.Time.Clock.System
diff --git a/lib/Data/Time/Clock/System.hs b/lib/Data/Time/Clock/System.hs
index 4dffa17..b9be502 100644
--- a/lib/Data/Time/Clock/System.hs
+++ b/lib/Data/Time/Clock/System.hs
@@ -11,7 +11,7 @@ module Data.Time.Clock.System
 
 import Data.Time.Clock.Internal.AbsoluteTime
 import Data.Time.Clock.Internal.DiffTime
-import Data.Time.Clock.Internal.GetTime
+import Data.Time.Clock.Internal.SystemTime
 import Data.Time.Clock.Internal.UTCTime
 import Data.Time.Calendar.Days
 import Data.Int (Int64)
diff --git a/lib/Data/Time/Clock/TAI.hs b/lib/Data/Time/Clock/TAI.hs
index 695e1d7..2613852 100644
--- a/lib/Data/Time/Clock/TAI.hs
+++ b/lib/Data/Time/Clock/TAI.hs
@@ -18,7 +18,7 @@ module Data.Time.Clock.TAI
 import Data.Time.Clock.Internal.AbsoluteTime
 import Data.Time.LocalTime
 import Data.Time.Calendar.Days
-import Data.Time.Clock.Internal.GetTime
+import Data.Time.Clock.Internal.SystemTime
 import Data.Time.Clock.System
 import Data.Time.Clock
 import Data.Maybe
diff --git a/time.cabal b/time.cabal
index 3ee2f0e..ebb33d2 100644
--- a/time.cabal
+++ b/time.cabal
@@ -80,7 +80,7 @@ library
         Data.Time.Clock.Internal.NominalDiffTime,
         Data.Time.Clock.Internal.POSIXTime,
         Data.Time.Clock.Internal.UniversalTime,
-        Data.Time.Clock.Internal.GetTime,
+        Data.Time.Clock.Internal.SystemTime,
         Data.Time.Clock.Internal.UTCTime,
         Data.Time.Clock.Internal.CTimeval,
         Data.Time.Clock.Internal.CTimespec,



More information about the ghc-commits mailing list