summaryrefslogtreecommitdiffhomepage
path: root/src/Plugins/Date.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Plugins/Date.hs')
-rw-r--r--src/Plugins/Date.hs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Plugins/Date.hs b/src/Plugins/Date.hs
index cd688e6..b2d32da 100644
--- a/src/Plugins/Date.hs
+++ b/src/Plugins/Date.hs
@@ -24,7 +24,6 @@ import Plugins
#if ! MIN_VERSION_time(1,5,0)
import System.Locale
#endif
-import Control.Monad (liftM)
import Data.Time
data Date = Date String String Int
@@ -36,4 +35,4 @@ instance Exec Date where
rate (Date _ _ r) = r
date :: String -> IO String
-date format = liftM (formatTime defaultTimeLocale format) getZonedTime
+date format = fmap (formatTime defaultTimeLocale format) getZonedTime