about summary refs log tree commit diff
path: root/src/Blog.hs
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@gmail.com>2015-11-19T15·21+0100
committerVincent Ambo <tazjin@gmail.com>2015-11-19T15·21+0100
commit853be2a99c4f4cd8a75f807d37fb97ec1497215d (patch)
tree5121ac03a3f7f431c23a25be3f84ff6c9778c393 /src/Blog.hs
parent3a86d653ce759d6e9daff93d0da8fa588d3b404e (diff)
[build] Use Stack for building
Diffstat (limited to 'src/Blog.hs')
-rw-r--r--src/Blog.hs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Blog.hs b/src/Blog.hs
index 60d87f2907c1..5659ad5955cd 100644
--- a/src/Blog.hs
+++ b/src/Blog.hs
@@ -10,7 +10,6 @@ import           Data.Text                 (Text, append, empty, pack)
 import           Data.Text.Lazy            (fromStrict)
 import           Data.Time
 import           Locales
-import           System.Locale             (defaultTimeLocale)
 import           Text.Blaze.Html           (preEscapedToHtml)
 import           Text.Hamlet
 import           Text.Lucius
@@ -30,7 +29,7 @@ show' = pack . show
 
 -- |After this time all entries are Markdown
 markdownCutoff :: UTCTime
-markdownCutoff = fromJust $ parseTime defaultTimeLocale "%s" "1367149834"
+markdownCutoff = fromJust $ parseTimeM False defaultTimeLocale "%s" "1367149834"
 
 
 -- blog CSS (admin is still static)