[commit: packages/time] format-widths, improve-leapseconds, master, posix-perf, tasty, wip/travis: reorder modules in Makefile (bbbc983)
git at git.haskell.org
git at git.haskell.org
Mon Feb 20 21:09:25 UTC 2017
- Previous message: [commit: packages/time] format-widths, improve-leapseconds, master, posix-perf, tasty, wip/travis: rename Date to Day (9c5fedd)
- Next message: [commit: packages/time] format-widths, improve-leapseconds, master, posix-perf, tasty, wip/travis: add months (with test) (853190e)
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Repository : ssh://git@git.haskell.org/time
On branches: format-widths,improve-leapseconds,master,posix-perf,tasty,wip/travis
Link : http://git.haskell.org/packages/time.git/commitdiff/bbbc983c7cc720e9c9d1a5fa60b4761359b29600
>---------------------------------------------------------------
commit bbbc983c7cc720e9c9d1a5fa60b4761359b29600
Author: Ashley Yakeley <ashley at semantic.org>
Date: Sun Aug 7 01:27:33 2005 -0700
reorder modules in Makefile
darcs-hash:20050807082733-ac6dd-52df8b71fa34fa635f3c55ac1b3bdab293234355
>---------------------------------------------------------------
bbbc983c7cc720e9c9d1a5fa60b4761359b29600
Data/Time/LocalTime/TimeOfDay.hs | 2 +-
Makefile | 46 ++++++++++++++++++++--------------------
2 files changed, 24 insertions(+), 24 deletions(-)
diff --git a/Data/Time/LocalTime/TimeOfDay.hs b/Data/Time/LocalTime/TimeOfDay.hs
index d59919c..a4646cf 100644
--- a/Data/Time/LocalTime/TimeOfDay.hs
+++ b/Data/Time/LocalTime/TimeOfDay.hs
@@ -51,7 +51,7 @@ posixDay :: DiffTime
posixDay = fromInteger 86400
-- | Get a TimeOfDay given a time since midnight.
--- | Time more than 24h will be converted to leap-seconds.
+-- Time more than 24h will be converted to leap-seconds.
timeToTimeOfDay :: DiffTime -> TimeOfDay
timeToTimeOfDay dt | dt >= posixDay = TimeOfDay 23 59 (60 + (realToFrac (dt - posixDay)))
timeToTimeOfDay dt = TimeOfDay (fromInteger h) (fromInteger m) s where
diff --git a/Makefile b/Makefile
index cdee40c..95d5dc7 100644
--- a/Makefile
+++ b/Makefile
@@ -9,18 +9,18 @@ cleantest:
cd test && make clean
SRCS = Data/Fixed.hs \
- Data/Time/Clock/Scale.hs \
- Data/Time/Clock/UTC.hs \
- Data/Time/Clock/POSIX.hs \
- Data/Time/Clock/Current.hs \
- Data/Time/Clock.hs \
- Data/Time/TAI.hs \
Data/Time/Calendar/Private.hs \
Data/Time/Calendar/Days.hs \
Data/Time/Calendar/YearDay.hs \
Data/Time/Calendar/Gregorian.hs \
Data/Time/Calendar/ISOWeekDay.hs \
Data/Time/Calendar.hs \
+ Data/Time/Clock/Scale.hs \
+ Data/Time/Clock/UTC.hs \
+ Data/Time/Clock/POSIX.hs \
+ Data/Time/Clock/Current.hs \
+ Data/Time/Clock.hs \
+ Data/Time/TAI.hs \
Data/Time/LocalTime/TimeZone.hs \
Data/Time/LocalTime/TimeOfDay.hs \
Data/Time/LocalTime/LocalTime.hs \
@@ -81,23 +81,6 @@ TestFixed.o: Data/Fixed.hi
# DO NOT DELETE: Beginning of Haskell dependencies
Data/Time/Calendar/Days.o : Data/Time/Calendar/Days.hs
Data/Fixed.o : Data/Fixed.hs
-Data/Time/Clock/Scale.o : Data/Time/Clock/Scale.hs
-Data/Time/Clock/Scale.o : Data/Fixed.hi
-Data/Time/Clock/UTC.o : Data/Time/Clock/UTC.hs
-Data/Time/Clock/UTC.o : Data/Fixed.hi
-Data/Time/Clock/UTC.o : Data/Time/Clock/Scale.hi
-Data/Time/Clock/UTC.o : Data/Time/Calendar/Days.hi
-Data/Time/Clock/POSIX.o : Data/Time/Clock/POSIX.hs
-Data/Time/Clock/POSIX.o : Data/Time/Clock/UTC.hi
-Data/Time/Clock/Current.o : Data/Time/Clock/Current.hs
-Data/Time/Clock/Current.o : Data/Time/Clock/UTC.hi
-Data/Time/Clock.o : Data/Time/Clock.hs
-Data/Time/Clock.o : Data/Time/Clock/Current.hi
-Data/Time/Clock.o : Data/Time/Clock/UTC.hi
-Data/Time/Clock.o : Data/Time/Clock/Scale.hi
-Data/Time/TAI.o : Data/Time/TAI.hs
-Data/Time/TAI.o : Data/Time/Clock.hi
-Data/Time/TAI.o : Data/Time/Calendar/Days.hi
Data/Time/Calendar/Private.o : Data/Time/Calendar/Private.hs
Data/Time/Calendar/Private.o : Data/Fixed.hi
Data/Time/Calendar/YearDay.o : Data/Time/Calendar/YearDay.hs
@@ -116,6 +99,23 @@ Data/Time/Calendar.o : Data/Time/Calendar/ISOWeekDay.hi
Data/Time/Calendar.o : Data/Time/Calendar/Gregorian.hi
Data/Time/Calendar.o : Data/Time/Calendar/YearDay.hi
Data/Time/Calendar.o : Data/Time/Calendar/Days.hi
+Data/Time/Clock/Scale.o : Data/Time/Clock/Scale.hs
+Data/Time/Clock/Scale.o : Data/Fixed.hi
+Data/Time/Clock/UTC.o : Data/Time/Clock/UTC.hs
+Data/Time/Clock/UTC.o : Data/Fixed.hi
+Data/Time/Clock/UTC.o : Data/Time/Clock/Scale.hi
+Data/Time/Clock/UTC.o : Data/Time/Calendar/Days.hi
+Data/Time/Clock/POSIX.o : Data/Time/Clock/POSIX.hs
+Data/Time/Clock/POSIX.o : Data/Time/Clock/UTC.hi
+Data/Time/Clock/Current.o : Data/Time/Clock/Current.hs
+Data/Time/Clock/Current.o : Data/Time/Clock/UTC.hi
+Data/Time/Clock.o : Data/Time/Clock.hs
+Data/Time/Clock.o : Data/Time/Clock/Current.hi
+Data/Time/Clock.o : Data/Time/Clock/UTC.hi
+Data/Time/Clock.o : Data/Time/Clock/Scale.hi
+Data/Time/TAI.o : Data/Time/TAI.hs
+Data/Time/TAI.o : Data/Time/Clock.hi
+Data/Time/TAI.o : Data/Time/Calendar/Days.hi
Data/Time/LocalTime/TimeZone.o : Data/Time/LocalTime/TimeZone.hs
Data/Time/LocalTime/TimeZone.o : Data/Time/Clock/POSIX.hi
Data/Time/LocalTime/TimeZone.o : Data/Time/Clock.hi
- Previous message: [commit: packages/time] format-widths, improve-leapseconds, master, posix-perf, tasty, wip/travis: rename Date to Day (9c5fedd)
- Next message: [commit: packages/time] format-widths, improve-leapseconds, master, posix-perf, tasty, wip/travis: add months (with test) (853190e)
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the ghc-commits
mailing list