summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHendrik Jaeger <henk@frustcomp>2014-03-11 00:23:31 +0100
committerHendrik Jaeger <henk@frustcomp>2014-03-11 00:23:31 +0100
commit2046a76e9a007f99705388b97d5d06a445a7dc32 (patch)
treed04ec2da815bd9af96dc65d05105ad60c4084923
parent1e3285599922c3b6ec009ac641464f3232d59bb8 (diff)
On branch master
deleted: HMSTime.hs
-rw-r--r--HMSTime.hs13
1 files changed, 0 insertions, 13 deletions
diff --git a/HMSTime.hs b/HMSTime.hs
deleted file mode 100644
index ce4e3b2..0000000
--- a/HMSTime.hs
+++ /dev/null
@@ -1,13 +0,0 @@
-module HMSTime
-( diffTimeToHMSString
-) where
-
-import Data.Time.Clock( NominalDiffTime() )
-import Text.Printf( printf )
-
-diffTimeToHMSString :: NominalDiffTime -> String
-diffTimeToHMSString delta = printf "%d:%02d:%02d" h m s
- where
- (mLeft, s) = floor delta `divMod` 60 :: (Int, Int)
- (h, m) = mLeft `divMod` 60
-