WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Database/Schema/Migrations/Filesystem.hs
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ instance ToJSON UTCTimeYaml where

-- Keeps things as the old Show/Read-based format, e.g "2009-04-15 10:02:06 UTC"
utcTimeYamlFormat :: String
utcTimeYamlFormat = "%F %T UTC"
utcTimeYamlFormat = "%F %T%Q UTC"

newtype DependsYaml = DependsYaml
{ unDependsYaml :: [Text]
Expand Down
3 changes: 2 additions & 1 deletion src/Moo/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ module Moo.Main
)
where

import Control.Monad.Reader (forM_, runReaderT, when)
import Control.Monad (forM_, when)
import Control.Monad.Reader (runReaderT)
import Database.HDBC (SqlError, catchSql, seErrorMsg)
import Prelude hiding (lookup)
import Data.Text (Text)
Expand Down