aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJoris Guyonvarch2015-04-16 20:55:58 +0200
committerJoris Guyonvarch2015-04-16 20:56:49 +0200
commit3eff27c41a0501d07586b90c8bbb835a3ec86b84 (patch)
tree86b1f7910a3028813e1f9a57644bb52d436e1f79 /src
parent199404efc365227cc3a94ba7c2c8add8388f6fcc (diff)
downloadad-listener-3eff27c41a0501d07586b90c8bbb835a3ec86b84.tar.gz
ad-listener-3eff27c41a0501d07586b90c8bbb835a3ec86b84.tar.bz2
ad-listener-3eff27c41a0501d07586b90c8bbb835a3ec86b84.zip
%Hh%M for time output
Diffstat (limited to 'src')
-rw-r--r--src/Time.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Time.hs b/src/Time.hs
index 9f35bf0..a7fb418 100644
--- a/src/Time.hs
+++ b/src/Time.hs
@@ -14,4 +14,4 @@ getCurrentFormattedTime = do
currentTime <- getCurrentTime
timeZone <- getCurrentTimeZone
let localTime = utcToLocalTime timeZone currentTime
- return (T.pack $ formatTime defaultTimeLocale "%T" localTime)
+ return (T.pack $ formatTime defaultTimeLocale "%Hh%M" localTime)